Stop concatenating std::strings. Use formatter.
This commit is contained in:
@@ -762,7 +762,7 @@ void AC3DImporter::InternReadFile(const std::string &pFile,
|
||||
|
||||
// Check whether we can read from the file
|
||||
if (file.get() == nullptr) {
|
||||
throw DeadlyImportError("Failed to open AC3D file " + pFile + ".");
|
||||
throw DeadlyImportError("Failed to open AC3D file ", pFile, ".");
|
||||
}
|
||||
|
||||
// allocate storage and copy the contents of the file to a memory buffer
|
||||
|
||||
Reference in New Issue
Block a user