add missing std moves

This commit is contained in:
Aaron Gokaslan
2022-11-03 12:35:10 -04:00
parent 9a5d628232
commit 8da3d277c7
15 changed files with 48 additions and 33 deletions
+3 -1
View File
@@ -44,6 +44,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "3MFTypes.h"
#include <assimp/scene.h>
#include <utility>
namespace Assimp {
namespace D3MF {
@@ -582,7 +584,7 @@ aiMaterial *XmlSerializer::readMaterialDef(XmlNode &node, unsigned int basemater
stdMaterialName += strId;
stdMaterialName += "_";
if (hasName) {
stdMaterialName += std::string(name);
stdMaterialName += std::string(std::move(name));
} else {
stdMaterialName += "basemat_";
stdMaterialName += ai_to_string(mMaterials.size());