diff --git a/crlcore/src/ccore/Histogram.cpp b/crlcore/src/ccore/Histogram.cpp index 5d0d0f68..f317b8fb 100644 --- a/crlcore/src/ccore/Histogram.cpp +++ b/crlcore/src/ccore/Histogram.cpp @@ -115,7 +115,7 @@ namespace CRL { toFile ( datFile.string() ); Utilities::Path pltFile ( basename+_fileExtension+".plt" ); - ofstream fd ( pltFile.string() ); + ofstream fd ( pltFile.string().c_str() ); if ( not _mainTitle.empty() ) fd << "set title \"" << _mainTitle << "\"\n";