Apply modernize-use-emplace clang-tidy rule
This commit is contained in:
@@ -333,7 +333,7 @@ void ObjExporter::WriteGeometryFile(bool noMtl) {
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
void ObjExporter::AddMesh(const aiString& name, const aiMesh* m, const aiMatrix4x4& mat) {
|
||||
mMeshes.push_back(MeshInstance() );
|
||||
mMeshes.emplace_back( );
|
||||
MeshInstance& mesh = mMeshes.back();
|
||||
|
||||
if ( nullptr != m->mColors[ 0 ] ) {
|
||||
|
||||
Reference in New Issue
Block a user