Yet more work on eng::malloc

This commit is contained in:
2022-03-02 14:52:51 -05:00
parent 7cd8eb0a43
commit cf102a6250
25 changed files with 114 additions and 59 deletions

View File

@@ -490,7 +490,7 @@ void *StreamBuffer::lua_reader_ud(int64_t size) {
return this;
}
class StreamBufferWriter : public std::streambuf {
class StreamBufferWriter : public std::streambuf, public eng::opnew {
private:
StreamBuffer *target_;
public:
@@ -504,7 +504,7 @@ public:
}
};
class StreamBufferOStream : public std::ostream {
class StreamBufferOStream : public std::ostream, public eng::opnew {
private:
StreamBufferWriter writer_;
public: