Explorar el Código

mii_model: Remove redundant std::move

Named return value optimization automatically applies here.
MerryMage hace 6 años
padre
commit
7236393114
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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