Apply modernize-use-emplace clang-tidy rule
This commit is contained in:
@@ -399,7 +399,7 @@ void MS3DImporter::InternReadFile( const std::string& pFile,
|
||||
// if one of the groups has no material assigned, but there are other
|
||||
// groups with materials, a default material needs to be added (
|
||||
// scenepreprocessor adds a default material only if nummat==0).
|
||||
materials.push_back(TempMaterial());
|
||||
materials.emplace_back();
|
||||
TempMaterial& m = materials.back();
|
||||
|
||||
strcpy(m.name,"<MS3D_DefaultMat>");
|
||||
|
||||
Reference in New Issue
Block a user