Stop concatenating std::strings. Use formatter.
This commit is contained in:
@@ -222,7 +222,7 @@ void MD2Importer::InternReadFile( const std::string& pFile,
|
||||
|
||||
// Check whether we can read from the file
|
||||
if (file.get() == nullptr) {
|
||||
throw DeadlyImportError("Failed to open MD2 file " + pFile + "");
|
||||
throw DeadlyImportError("Failed to open MD2 file ", pFile, "");
|
||||
}
|
||||
|
||||
// check whether the md3 file is large enough to contain
|
||||
|
||||
Reference in New Issue
Block a user