From bb8510a962aceb4efd630832005f4e61fa346ee1 Mon Sep 17 00:00:00 2001 From: clyne Date: Wed, 1 Jul 2020 16:48:33 -0400 Subject: [PATCH] Revert attempt to switch from struct to class --- consteval_huffman.hpp | 4 +--- 1 file changed, 1 insertion(+), 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 -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;