mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-29 22:15:32 +00:00
Multiple definition fix
This commit is contained in:
parent
f6f37e02df
commit
68bce7825e
2 changed files with 8 additions and 5 deletions
|
@ -104,4 +104,11 @@ namespace Files
|
|||
{
|
||||
delete rdbuf();
|
||||
}
|
||||
|
||||
|
||||
IStreamPtr openConstrainedFileStream(const char *filename,
|
||||
size_t start, size_t length)
|
||||
{
|
||||
return IStreamPtr(new ConstrainedFileStream(filename, start, length));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -19,11 +19,7 @@ public:
|
|||
|
||||
typedef boost::shared_ptr<std::istream> IStreamPtr;
|
||||
|
||||
IStreamPtr openConstrainedFileStream(const char *filename,
|
||||
size_t start=0, size_t length=0xFFFFFFFF)
|
||||
{
|
||||
return IStreamPtr(new ConstrainedFileStream(filename, start, length));
|
||||
}
|
||||
IStreamPtr openConstrainedFileStream(const char *filename, size_t start=0, size_t length=0xFFFFFFFF);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue