Yet more work on eng::malloc
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user