projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert "Proposed fix for coverity #29372" because of causing Segmentation
[supertux.git]
/
src
/
physfs
/
ifile_stream.cpp
diff --git
a/src/physfs/ifile_stream.cpp
b/src/physfs/ifile_stream.cpp
index
f4cb889
..
4a09394
100644
(file)
--- a/
src/physfs/ifile_stream.cpp
+++ b/
src/physfs/ifile_stream.cpp
@@
-16,8
+16,10
@@
#include "physfs/ifile_stream.hpp"
#include "physfs/ifile_stream.hpp"
-IFileStream::IFileStream(IFileStreambuf* buf) :
- std::istream(buf)
+#include "physfs/ifile_streambuf.hpp"
+
+IFileStream::IFileStream(const std::string& filename) :
+ std::istream(new IFileStreambuf(filename))
{
}
{
}