Browse Source

Add one more missing move

Aaron Gokaslan 2 years ago
parent
commit
02378b5e70
1 changed files with 1 additions and 1 deletions
  1. 1 1
      code/AssetLib/FBX/FBXExportNode.h

+ 1 - 1
code/AssetLib/FBX/FBXExportNode.h

@@ -119,7 +119,7 @@ public: // functions to add properties or children
     ) {
     ) {
         FBX::Node c(name);
         FBX::Node c(name);
         c.AddProperties(std::forward<More>(more)...);
         c.AddProperties(std::forward<More>(more)...);
-        children.push_back(c);
+        children.push_back(std::move(c));
     }
     }
 
 
 public: // support specifically for dealing with Properties70 nodes
 public: // support specifically for dealing with Properties70 nodes