fix assertion in compressed pctrace writer

This commit is contained in:
Eyck Jentzsch 2022-05-13 12:38:12 +02:00
parent 5da4e6b424
commit 766f3ba9ee
1 changed files with 1 additions and 2 deletions

View File

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