From: clyne Date: Wed, 30 Dec 2020 18:44:56 +0000 (-0500) Subject: adding missing returns for cbegin and cend X-Git-Url: https://code.bitgloo.com/?a=commitdiff_plain;h=7a63ba6dc707e190f84d73a92ebc308c5da555bd;p=clyne%2Fconsteval-huffman.git adding missing returns for cbegin and cend --- 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 {