mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 18:35:20 +00:00
Fixed const error in slice_stream.h
This commit is contained in:
parent
4d16beef1a
commit
fb1eec974c
@ -57,7 +57,7 @@ class SliceStream : public Stream
|
|||||||
const void *getPtr() { return getPtr(0, length); }
|
const void *getPtr() { return getPtr(0, length); }
|
||||||
const void *getPtr(size_t size)
|
const void *getPtr(size_t size)
|
||||||
{
|
{
|
||||||
void *ptr = getPtr(pos, size);
|
const void *ptr = getPtr(pos, size);
|
||||||
seek(pos+size);
|
seek(pos+size);
|
||||||
return ptr;
|
return ptr;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user