projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert "Possible fix for coverity #29375"
[supertux.git]
/
src
/
physfs
/
ofile_stream.cpp
diff --git
a/src/physfs/ofile_stream.cpp
b/src/physfs/ofile_stream.cpp
index
1e7987f
..
432bc94
100644
(file)
--- a/
src/physfs/ofile_stream.cpp
+++ b/
src/physfs/ofile_stream.cpp
@@
-19,8
+19,10
@@
#include "physfs/ofile_stream.hpp"
#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))
{
}
{
}