diff --git a/consteval_huffman.hpp b/consteval_huffman.hpp index 69b7822..b7ea57f 100644 --- a/consteval_huffman.hpp +++ b/consteval_huffman.hpp @@ -345,8 +345,8 @@ public: auto end() const noexcept { return decoder::end(compressed_data); } - auto cbegin() const noexcept { begin(); } - auto cend() const noexcept { end(); } + auto cbegin() const noexcept { return begin(); } + auto cend() const noexcept { return end(); } // For accessing the compressed data auto data() const noexcept {