fix compile error caused by PR #6087 when ASSIMP_DOUBLE_PRESICION is enabled (#6091)

Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
This commit is contained in:
sSsA01
2025-06-05 16:15:47 +09:00
committed by GitHub
parent a98ffe6c6f
commit 5d39661751
2 changed files with 2 additions and 2 deletions

View File

@@ -886,7 +886,7 @@ void ColladaParser::ReadController(XmlNode &node, Collada::Controller &controlle
XmlParser::getValueAsString(currentNode, v);
const char *content = v.c_str();
const char *end = content + v.size();
for (float & a : controller.mBindShapeMatrix) {
for (auto & a : controller.mBindShapeMatrix) {
SkipSpacesAndLineEnd(&content, end);
// read a number
content = fast_atoreal_move<ai_real>(content, a);

View File

@@ -60,7 +60,7 @@ TEST_F(utParsingUtils, parseFloatsStringTest) {
for (float i : floatArray) {
float value = 0.0f;
SkipSpacesAndLineEnd(&content, end);
content = fast_atoreal_move<ai_real>(content, value);
content = fast_atoreal_move(content, value);
EXPECT_FLOAT_EQ(value, i);
}
}