aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2007-03-04 16:25:27 +0000
committerMax Horn2007-03-04 16:25:27 +0000
commit8a80e2284a0c9a19216d526cb39cd0531f241c1b (patch)
tree178fc676fa7e5ef928076488bb72df050812a2c6
parent80fd9d82341c800535151ff32ecacb2d197ce5ca (diff)
downloadscummvm-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.h3
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...