From: Clyne Sullivan Date: Sun, 2 Aug 2020 01:57:51 +0000 (-0400) Subject: include size of decode tree X-Git-Url: https://code.bitgloo.com/?a=commitdiff_plain;h=50d13782ee9ac14328921b867270fccd16f292ec;p=clyne%2Fconsteval-huffman.git include size of decode tree --- 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;