summaryrefslogtreecommitdiff
path: root/src/python
diff options
context:
space:
mode:
Diffstat (limited to 'src/python')
-rw-r--r--src/python/swig/trace.i4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/python/swig/trace.i b/src/python/swig/trace.i
index 50ff7fd3d..48caf456a 100644
--- a/src/python/swig/trace.i
+++ b/src/python/swig/trace.i
@@ -38,12 +38,12 @@
inline void
output(const char *filename)
{
- std::ostream *file_stream = simout.find(filename);
+ OutputStream *file_stream = simout.find(filename);
if (!file_stream)
file_stream = simout.create(filename);
- Trace::setDebugLogger(new Trace::OstreamLogger(*file_stream));
+ Trace::setDebugLogger(new Trace::OstreamLogger(*file_stream->stream()));
}
inline void