aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--consteval_huffman.hpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/consteval_huffman.hpp b/consteval_huffman.hpp
index f2204dd..9dde53a 100644
--- a/consteval_huffman.hpp
+++ b/consteval_huffman.hpp
@@ -9,9 +9,8 @@
* @tparam data Expected to be a null-terminated `char` of data to be compressed.
*/
template<auto data>
-class huffman_compress
+struct huffman_compress
{
-public:
using size_t = unsigned long int;
// Contains the compressed data.
@@ -29,7 +28,6 @@ public:
compress();
}
-private:
// Node structure used for tree-building.
struct node {
int value = 0;