From f20a5afcf06a467b5a5a884d4bcfd38dc9c6bb32 Mon Sep 17 00:00:00 2001 From: Paul Holland Date: Thu, 18 Feb 2016 12:17:47 -0800 Subject: [PATCH] can't add integer to string pointer --- code/ColladaParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;