]> code.bitgloo.com Git - clyne/consteval-huffman.git/commitdiff
adding missing returns for cbegin and cend
authorclyne <clyne@bitgloo.com>
Wed, 30 Dec 2020 18:44:56 +0000 (13:44 -0500)
committerGitHub <noreply@github.com>
Wed, 30 Dec 2020 18:44:56 +0000 (13:44 -0500)
consteval_huffman.hpp

index 69b782280161b864a06e990bc3ab6e0f6088daa5..b7ea57f46e62501100657ac5427c840f8f4f081b 100644 (file)
@@ -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 {