Clang-Tidy performance fixes

This commit is contained in:
Aaron Gokaslan
2022-05-11 14:03:45 -04:00
parent ff43768d24
commit 787fcc160a
5 changed files with 8 additions and 8 deletions

View File

@@ -106,7 +106,7 @@ bool getNodeAttribute(const XmlNode &node, const std::string &attribute, int &va
return false;
}
aiMatrix4x4 parseTransformMatrix(std::string matrixStr) {
aiMatrix4x4 parseTransformMatrix(const std::string& matrixStr) {
// split the string
std::vector<float> numbers;
std::string currentNumber;