GCC might have an issue with value type Errors

pull/4323/head
tanolino 2022-01-05 10:34:27 +01:00 committed by GitHub
parent 04d2d13172
commit 089fc7311a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -335,7 +335,7 @@ void ColladaParser::ReadAssetInfo(XmlNode &node) {
if (XmlParser::getStdStrAttribute(currentNode, "meter", tUnitSizeString)) { if (XmlParser::getStdStrAttribute(currentNode, "meter", tUnitSizeString)) {
try { try {
fast_atoreal_move<ai_real>(tUnitSizeString.data(), mUnitSize); fast_atoreal_move<ai_real>(tUnitSizeString.data(), mUnitSize);
} catch (DeadlyImportError die) { } catch (const DeadlyImportError& die) {
std::string warning("Collada: Failed to parse meter parameter to real number. Exception:\n"); std::string warning("Collada: Failed to parse meter parameter to real number. Exception:\n");
warning.append(die.what()); warning.append(die.what());
ASSIMP_LOG_WARN(warning.data()); ASSIMP_LOG_WARN(warning.data());