Demote some single character strings into plain chars

This commit is contained in:
Martin Hořeňovský
2021-10-03 10:37:30 +02:00
parent 3e9c6fec22
commit 928e198ef2
11 changed files with 17 additions and 17 deletions
+2 -2
View File
@@ -78,7 +78,7 @@ namespace Detail {
public:
FileStream( std::string const& filename ) {
m_ofs.open( filename.c_str() );
CATCH_ENFORCE( !m_ofs.fail(), "Unable to open file: '" << filename << "'" );
CATCH_ENFORCE( !m_ofs.fail(), "Unable to open file: '" << filename << '\'' );
}
~FileStream() override = default;
public: // IStream
@@ -130,7 +130,7 @@ namespace Detail {
if( filename == "%debug" )
return Detail::make_unique<Detail::DebugOutStream>();
else
CATCH_ERROR( "Unrecognised stream: '" << filename << "'" );
CATCH_ERROR( "Unrecognised stream: '" << filename << '\'' );
}
else
return Detail::make_unique<Detail::FileStream>( filename );