Multiple definition fix

pull/638/head
scrawl 10 years ago
parent f6f37e02df
commit 68bce7825e

@ -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…
Cancel
Save