diff --git a/code/ColladaParser.cpp b/code/ColladaParser.cpp index f52ec677a..f620f7acb 100644 --- a/code/ColladaParser.cpp +++ b/code/ColladaParser.cpp @@ -297,7 +297,7 @@ void ColladaParser::ReadAnimationClipLibrary() else if (indexID >= 0) animName = mReader->getAttributeValue(indexID); else - animName = "animation_" + mAnimationClipLibrary.size(); + animName = std::string("animation_") + std::to_string(mAnimationClipLibrary.size()); std::pair > clip;