Quellcode durchsuchen

mii_model: Remove redundant std::move

Named return value optimization automatically applies here.
MerryMage vor 6 Jahren
Ursprung
Commit
7236393114
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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