Przeglądaj źródła

mii_model: Remove redundant std::move

Named return value optimization automatically applies here.
MerryMage 6 lat temu
rodzic
commit
7236393114
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/core/file_sys/system_archive/mii_model.cpp

+ 1 - 1
src/core/file_sys/system_archive/mii_model.cpp

@@ -40,7 +40,7 @@ VirtualDir MiiModel() {
     out->AddFile(std::make_shared<ArrayVfsFile<MiiModelData::SHAPE_MID.size()>>(
         MiiModelData::SHAPE_MID, "ShapeMid.dat"));
 
-    return std::move(out);
+    return out;
 }
 
 } // namespace FileSys::SystemArchive