fix assertion
This commit is contained in:
parent
bb658be3b4
commit
9db4e3fd87
|
@ -58,7 +58,7 @@ public:
|
||||||
|
|
||||||
private:
|
private:
|
||||||
int_type overflow(int_type ch) override {
|
int_type overflow(int_type ch) override {
|
||||||
assert(pptr() <= epptr());
|
assert(pptr() > epptr());
|
||||||
*pptr() = static_cast<char_type>(ch);
|
*pptr() = static_cast<char_type>(ch);
|
||||||
pbump(1);
|
pbump(1);
|
||||||
compress_and_write();
|
compress_and_write();
|
||||||
|
|
Loading…
Reference in New Issue