use c_str

This commit is contained in:
David Markowitz
2026-06-07 01:54:22 -07:00
parent 46bd2c28b1
commit e73befbce5

View File

@@ -65,7 +65,7 @@ Lxfml::Result Lxfml::NormalizePositionOnlyFirstPart(const std::string_view data)
if (highest.y < y) highest.y = y;
if (highest.z < z) highest.z = z;
} catch (std::exception& e) {
LOG("Failed to parse a split value of either (%s), (%s), or (%s).", split[9], split[10], split[11]);
LOG("Failed to parse a split value of either (%s), (%s), or (%s).", split[9].c_str(), split[10].c_str(), split[11].c_str());
return toReturn; // Early return since we failed to parse this lxfml.
}
}