From 899f8e1d17d27d4d37401aea8a9893b2dd2ca6b4 Mon Sep 17 00:00:00 2001 From: Aaron Gokaslan Date: Thu, 3 Nov 2022 12:46:40 -0400 Subject: [PATCH] Remove redundant ctor --- code/AssetLib/3MF/XmlSerializer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/AssetLib/3MF/XmlSerializer.cpp b/code/AssetLib/3MF/XmlSerializer.cpp index efeaec954..674c6b916 100644 --- a/code/AssetLib/3MF/XmlSerializer.cpp +++ b/code/AssetLib/3MF/XmlSerializer.cpp @@ -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());