fix assertion in compressed pctrace writer
This commit is contained in:
parent
5da4e6b424
commit
766f3ba9ee
|
@ -58,10 +58,9 @@ public:
|
||||||
|
|
||||||
private:
|
private:
|
||||||
int_type overflow(int_type ch) override {
|
int_type overflow(int_type ch) override {
|
||||||
assert(pptr() > epptr());
|
compress_and_write();
|
||||||
*pptr() = static_cast<char_type>(ch);
|
*pptr() = static_cast<char_type>(ch);
|
||||||
pbump(1);
|
pbump(1);
|
||||||
compress_and_write();
|
|
||||||
return ch;
|
return ch;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue