diff options
Diffstat (limited to 'common/stream.h')
-rw-r--r-- | common/stream.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/common/stream.h b/common/stream.h index 68cf0c73a3..783415025a 100644 --- a/common/stream.h +++ b/common/stream.h @@ -407,11 +407,10 @@ public: class MemoryWriteStream : public WriteStream { private: byte *_ptr; - const byte * const _ptrOrig; const uint32 _bufSize; uint32 _pos; public: - MemoryWriteStream(byte *buf, uint32 len) : _ptr(buf), _ptrOrig(buf), _bufSize(len), _pos(0) {} + MemoryWriteStream(byte *buf, uint32 len) : _ptr(buf), _bufSize(len), _pos(0) {} uint32 write(const void *dataPtr, uint32 dataSize) { // Write at most as many bytes as are still available... |