changed std::to_string to to_string.

This commit is contained in:
Marco Di Benedetto
2018-02-09 16:18:49 +01:00
parent 59ea3b6c85
commit c874fd8ae2
2 changed files with 9 additions and 9 deletions

View File

@@ -349,7 +349,7 @@ void Discreet3DSImporter::ParseObjectChunk()
case Discreet3DS::CHUNK_MAT_MATERIAL:
// Add a new material to the list
mScene->mMaterials.push_back(D3DS::Material(std::string("UNNAMED_" + std::to_string(mScene->mMaterials.size()))));
mScene->mMaterials.push_back(D3DS::Material(std::string("UNNAMED_" + to_string(mScene->mMaterials.size()))));
ParseMaterialChunk();
break;