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

Modified Stream::PureFilter to allowed delayed setting of stream

This commit is contained in:
Nicolay Korslund 2010-08-03 18:02:44 +02:00
parent 687f20344e
commit 21d399cb81

View file

@ -15,9 +15,13 @@ class PureFilter : public Stream
StreamPtr src;
public:
PureFilter() {}
PureFilter(StreamPtr _src)
: src(_src)
{ setStream(_src); }
void setStream(StreamPtr _src)
{
src = _src;
isSeekable = src->isSeekable;
hasPosition = src->hasPosition;
hasSize = src->hasSize;