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:
parent
687f20344e
commit
21d399cb81
1 changed files with 5 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue