Remove redundant ctor

pull/4785/head
Aaron Gokaslan 2022-11-03 12:46:40 -04:00
parent 02378b5e70
commit 899f8e1d17
1 changed files with 1 additions and 1 deletions

View File

@ -584,7 +584,7 @@ aiMaterial *XmlSerializer::readMaterialDef(XmlNode &node, unsigned int basemater
stdMaterialName += strId;
stdMaterialName += "_";
if (hasName) {
stdMaterialName += std::string(std::move(name));
stdMaterialName += name;
} else {
stdMaterialName += "basemat_";
stdMaterialName += ai_to_string(mMaterials.size());