diff options
author | clyne <clyne@bitgloo.com> | 2020-07-01 16:48:33 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-01 16:48:33 -0400 |
commit | bb8510a962aceb4efd630832005f4e61fa346ee1 (patch) | |
tree | 7e4f632b3dfdffe5548ae12defe7cbf4ba21c1d1 /consteval_huffman.hpp | |
parent | ca567e69d8560cfebfb776c80e16fbad44b9dfe2 (diff) |
Revert attempt to switch from struct to class
Diffstat (limited to 'consteval_huffman.hpp')
-rw-r--r-- | consteval_huffman.hpp | 4 |
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; |