summaryrefslogtreecommitdiffstats
path: root/src/trace/siox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/trace/siox.cpp')
-rw-r--r--src/trace/siox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/trace/siox.cpp b/src/trace/siox.cpp
index b3404fc00..a30d903cd 100644
--- a/src/trace/siox.cpp
+++ b/src/trace/siox.cpp
@@ -584,7 +584,7 @@ void SioxImage::assign(const SioxImage &other)
/**
* Write the image to a PPM file
*/
-bool SioxImage::writePPM(const std::string fileName)
+bool SioxImage::writePPM(const std::string &fileName)
{
FILE *f = fopen(fileName.c_str(), "wb");