C++11-combat: replace more std::to_string by assimp-specific to_string

This commit is contained in:
Kim Kulling
2016-10-15 21:25:16 +02:00
parent b90669c45e
commit e0dde73018
7 changed files with 99 additions and 78 deletions

View File

@@ -731,7 +731,7 @@ void XFileParser::ParseDataObjectMaterial( Material* pMaterial)
std::string matName;
readHeadOfDataObject( &matName);
if( matName.empty())
matName = std::string( "material") + std::to_string( mLineNumber );
matName = std::string( "material") + to_string( mLineNumber );
pMaterial->mName = matName;
pMaterial->mIsReference = false;