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
/
lisp
/
writer.cpp
diff --git
a/src/lisp/writer.cpp
b/src/lisp/writer.cpp
index
66728fb
..
63c5aa7
100644
(file)
--- a/
src/lisp/writer.cpp
+++ b/
src/lisp/writer.cpp
@@
-16,7
+16,7
@@
#include "lisp/writer.hpp"
#include "lisp/writer.hpp"
-#include "physfs/
buffered_
ofile_stream.hpp"
+#include "physfs/ofile_stream.hpp"
#include "util/log.hpp"
namespace lisp {
#include "util/log.hpp"
namespace lisp {
@@
-27,8
+27,7
@@
Writer::Writer(const std::string& filename) :
indent_depth(),
lists()
{
indent_depth(),
lists()
{
- BufferedOFileStream* filestream = new BufferedOFileStream(filename);
- out = filestream->get_stream();
+ out = new OFileStream(filename);
out_owned = true;
indent_depth = 0;
out->precision(10);
out_owned = true;
indent_depth = 0;
out->precision(10);