summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMerryMage <MerryMage@users.noreply.github.com>2020-06-19 14:29:09 +0100
committerMerryMage <MerryMage@users.noreply.github.com>2020-06-19 14:29:09 +0100
commit723639311469b6abb21d766fedad8fad3733106a (patch)
treee66430c3ef7f4111efbdd43200752ec61f29be5e
parent0f7822acb17a8c2534792b074a6181abfb95ec69 (diff)
mii_model: Remove redundant std::move
Named return value optimization automatically applies here.
-rw-r--r--src/core/file_sys/system_archive/mii_model.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/file_sys/system_archive/mii_model.cpp b/src/core/file_sys/system_archive/mii_model.cpp
index 6a9add87c..61bb67945 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<ArrayVfsFile<MiiModelData::SHAPE_MID.size()>>(
MiiModelData::SHAPE_MID, "ShapeMid.dat"));
- return std::move(out);
+ return out;
}
} // namespace FileSys::SystemArchive