X-Git-Url: https://git.octo.it/?p=supertux.git;a=blobdiff_plain;f=src%2Fphysfs%2Fofile_stream.cpp;h=432bc94fa54e8ee1cd83fe661f100b456fffeded;hp=1e7987f43d97d13fb8f704433184b6db4ac38652;hb=c01aff7fe4229fe6677993dca8a3b075e7752382;hpb=204bc2e13db0c4b82784e880df3e2174f8d90487 diff --git a/src/physfs/ofile_stream.cpp b/src/physfs/ofile_stream.cpp index 1e7987f43..432bc94fa 100644 --- a/src/physfs/ofile_stream.cpp +++ b/src/physfs/ofile_stream.cpp @@ -19,8 +19,10 @@ #include "physfs/ofile_stream.hpp" -OFileStream::OFileStream(OFileStreambuf* buf) : - std::ostream(buf) +#include "physfs/ofile_streambuf.hpp" + +OFileStream::OFileStream(const std::string& filename) : + std::ostream(new OFileStreambuf(filename)) { }