From 2d0d2374c1b10589ea22ae540404ba371a404d49 Mon Sep 17 00:00:00 2001 From: escherstair Date: Thu, 29 Aug 2019 12:00:44 +0200 Subject: [PATCH] fix ColladaLoader::findMesh() declaration --- code/Collada/ColladaLoader.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/Collada/ColladaLoader.h b/code/Collada/ColladaLoader.h index 92f390f17..dce46e06f 100644 --- a/code/Collada/ColladaLoader.h +++ b/code/Collada/ColladaLoader.h @@ -120,7 +120,7 @@ protected: void BuildMeshesForNode( const ColladaParser& pParser, const Collada::Node* pNode, aiNode* pTarget); - aiMesh *findMesh(std::string meshid); + aiMesh *findMesh(const std::string& meshid); /** Creates a mesh for the given ColladaMesh face subset and returns the newly created mesh */ aiMesh* CreateMesh( const ColladaParser& pParser, const Collada::Mesh* pSrcMesh, const Collada::SubMesh& pSubMesh,