diff options
Diffstat (limited to 'src/log.cpp')
-rw-r--r-- | src/log.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/log.cpp b/src/log.cpp index 6921750e..9a5ebe8a 100644 --- a/src/log.cpp +++ b/src/log.cpp @@ -34,7 +34,7 @@ Logger::~Logger() = default; void Logger::setLogFile(const std::string &logFilename) { - mLogFile.open(logFilename.c_str(), std::ios_base::trunc); + mLogFile.open(logFilename, std::ios_base::trunc); if (!mLogFile.is_open()) { |