Skip to content

Commit

Permalink
Fix an error in the 'Logger::openLogFile' member function
Browse files Browse the repository at this point in the history
  • Loading branch information
igl42 committed Jun 5, 2014
1 parent 103ce40 commit d4e0ae9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/logging/Logger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ void Logger::openLogFile()
log_.open( filename.str().c_str(), std::ofstream::out | std::ofstream::trunc );
if( !log_.is_open() ) {
std::ostringstream oss;
oss << " Error opening log file '" << filename << "' !\n";
oss << " Error opening log file '" << filename.str() << "' !\n";
throw std::runtime_error( oss.str() );
}

Expand Down

0 comments on commit d4e0ae9

Please sign in to comment.