GCC might have an issue with value type Errors
parent
04d2d13172
commit
089fc7311a
|
@ -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());
|
||||||
|
|
Loading…
Reference in New Issue