fix assertion

This commit is contained in:
Eyck Jentzsch 2022-05-10 16:13:21 +02:00
parent bb658be3b4
commit 9db4e3fd87

View File

@ -58,7 +58,7 @@ public:
private:
int_type overflow(int_type ch) override {
assert(pptr() <= epptr());
assert(pptr() > epptr());
*pptr() = static_cast<char_type>(ch);
pbump(1);
compress_and_write();