1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-29 21:45:32 +00:00

Fixed const error in slice_stream.h

This commit is contained in:
Nicolay Korslund 2010-01-04 12:22:52 +01:00
parent 4d16beef1a
commit fb1eec974c

View file

@ -57,7 +57,7 @@ class SliceStream : public Stream
const void *getPtr() { return getPtr(0, length); }
const void *getPtr(size_t size)
{
void *ptr = getPtr(pos, size);
const void *ptr = getPtr(pos, size);
seek(pos+size);
return ptr;
}