Explorar o código

mii_model: Remove redundant std::move

Named return value optimization automatically applies here.
MerryMage %!s(int64=6) %!d(string=hai) anos
pai
achega
7236393114
Modificáronse 1 ficheiros con 1 adicións e 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