From 50d13782ee9ac14328921b867270fccd16f292ec Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Sat, 1 Aug 2020 21:57:51 -0400 Subject: [PATCH] include size of decode tree --- consteval_huffman.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;