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