adding missing returns for cbegin and cend

This commit is contained in:
Clyne 2020-12-30 13:44:56 -05:00 committed by GitHub
parent 36e3f1a0fa
commit 7a63ba6dc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View 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 {