From: clyne Date: Wed, 1 Jul 2020 20:48:33 +0000 (-0400) Subject: Revert attempt to switch from struct to class X-Git-Url: https://code.bitgloo.com/?a=commitdiff_plain;h=bb8510a962aceb4efd630832005f4e61fa346ee1;p=clyne%2Fconsteval-huffman.git Revert attempt to switch from struct to class --- 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 -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;