can't add integer to string pointer

This commit is contained in:
Paul Holland
2016-02-18 12:17:47 -08:00
parent fe68765df9
commit f20a5afcf0

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;