aboutsummaryrefslogtreecommitdiffstats
path: root/consteval_huffman.hpp
diff options
context:
space:
mode:
authorClyne Sullivan <clyne@bitgloo.com>2020-08-01 21:57:51 -0400
committerClyne Sullivan <clyne@bitgloo.com>2020-08-01 21:57:51 -0400
commit50d13782ee9ac14328921b867270fccd16f292ec (patch)
tree51ce67db781aa288e9bd33810be156aac3b23c26 /consteval_huffman.hpp
parent53a84d17ac134dc5ba74f1afd86db2da8aa07f1c (diff)
include size of decode tree
Diffstat (limited to 'consteval_huffman.hpp')
-rw-r--r--consteval_huffman.hpp2
1 files changed, 1 insertions, 1 deletions
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;