diff options
author | clyne <clyne@bitgloo.com> | 2020-12-31 09:56:34 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-31 09:56:34 -0500 |
commit | 2028b12fda38420b91b27781cce1a2495f7c0b54 (patch) | |
tree | 5c03958ccea6aa1e45ee5a033441a39ce0de7fbe /include/consteval_huffman/consteval_huffman.hpp | |
parent | 365deff0378c6be648d4ccb896fe4d3bc09728fc (diff) |
Fixed decoder::end() for uncompressed scenario
See issue #2
Diffstat (limited to 'include/consteval_huffman/consteval_huffman.hpp')
-rw-r--r-- | include/consteval_huffman/consteval_huffman.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/consteval_huffman/consteval_huffman.hpp b/include/consteval_huffman/consteval_huffman.hpp index b7ea57f..7884e2f 100644 --- a/include/consteval_huffman/consteval_huffman.hpp +++ b/include/consteval_huffman/consteval_huffman.hpp @@ -275,7 +275,7 @@ public: ender.m_data += size_bytes - 1; ender.m_bit = 1 << (7 - last_bits); } else { - ender.m_data += raw_data.size() + 1; + ender.m_data += raw_data.size(); } return ender; |