diff --git a/consteval_huffman.hpp b/consteval_huffman.hpp index 8218112..82a39c0 100644 --- a/consteval_huffman.hpp +++ b/consteval_huffman.hpp @@ -269,7 +269,7 @@ public: } consteval static auto compressed_size() { - return sizeof(compressed_data); + return sizeof(compressed_data) + sizeof(decode_tree); } consteval static auto uncompressed_size() { return data_length;