From 723639311469b6abb21d766fedad8fad3733106a Mon Sep 17 00:00:00 2001 From: MerryMage Date: Fri, 19 Jun 2020 14:29:09 +0100 Subject: [PATCH] mii_model: Remove redundant std::move Named return value optimization automatically applies here. --- src/core/file_sys/system_archive/mii_model.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/file_sys/system_archive/mii_model.cpp b/src/core/file_sys/system_archive/mii_model.cpp index 6a9add87c6..61bb679459 100644 --- a/src/core/file_sys/system_archive/mii_model.cpp +++ b/src/core/file_sys/system_archive/mii_model.cpp @@ -40,7 +40,7 @@ VirtualDir MiiModel() { out->AddFile(std::make_shared>( MiiModelData::SHAPE_MID, "ShapeMid.dat")); - return std::move(out); + return out; } } // namespace FileSys::SystemArchive