Stop concatenating std::strings. Use formatter.
This commit is contained in:
@@ -140,7 +140,7 @@ void IRRMeshImporter::InternReadFile( const std::string& pFile,
|
||||
|
||||
// Check whether we can read from the file
|
||||
if (file.get() == nullptr) {
|
||||
throw DeadlyImportError("Failed to open IRRMESH file " + pFile + ".");
|
||||
throw DeadlyImportError("Failed to open IRRMESH file ", pFile, ".");
|
||||
}
|
||||
|
||||
// Construct the irrXML parser
|
||||
|
||||
Reference in New Issue
Block a user