Merge pull request #800 from pkholland/master

Can't add integer to string pointer
This commit is contained in:
Kim Kulling
2016-04-01 10:01:23 +02:00

View File

@@ -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<std::string, std::vector<std::string> > clip;