diff options
author | Max Horn | 2007-03-04 16:25:27 +0000 |
---|---|---|
committer | Max Horn | 2007-03-04 16:25:27 +0000 |
commit | 8a80e2284a0c9a19216d526cb39cd0531f241c1b (patch) | |
tree | 178fc676fa7e5ef928076488bb72df050812a2c6 | |
parent | 80fd9d82341c800535151ff32ecacb2d197ce5ca (diff) | |
download | scummvm-rg350-8a80e2284a0c9a19216d526cb39cd0531f241c1b.tar.gz scummvm-rg350-8a80e2284a0c9a19216d526cb39cd0531f241c1b.tar.bz2 scummvm-rg350-8a80e2284a0c9a19216d526cb39cd0531f241c1b.zip |
Removing _ptrOrig (hi Torbjorn, have fun recompiling)
svn-id: r25980
-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... |