summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/mii
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2021-11-02 22:23:19 +0100
committerMorph <39850852+Morph1984@users.noreply.github.com>2021-11-02 22:23:19 +0100
commitcb09ea0f0174162a85f47fdb8446b397c3c57e20 (patch)
tree5cbd9a62e1daf1c1de97444858064fe8210df077 /src/core/hle/service/mii
parenthle/result: Amend ResultVal documentation (diff)
downloadyuzu-cb09ea0f0174162a85f47fdb8446b397c3c57e20.tar
yuzu-cb09ea0f0174162a85f47fdb8446b397c3c57e20.tar.gz
yuzu-cb09ea0f0174162a85f47fdb8446b397c3c57e20.tar.bz2
yuzu-cb09ea0f0174162a85f47fdb8446b397c3c57e20.tar.lz
yuzu-cb09ea0f0174162a85f47fdb8446b397c3c57e20.tar.xz
yuzu-cb09ea0f0174162a85f47fdb8446b397c3c57e20.tar.zst
yuzu-cb09ea0f0174162a85f47fdb8446b397c3c57e20.zip
Diffstat (limited to 'src/core/hle/service/mii')
-rw-r--r--src/core/hle/service/mii/mii_manager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/mii/mii_manager.cpp b/src/core/hle/service/mii/mii_manager.cpp
index 4fef2aea4..ca4ed35bb 100644
--- a/src/core/hle/service/mii/mii_manager.cpp
+++ b/src/core/hle/service/mii/mii_manager.cpp
@@ -443,14 +443,14 @@ ResultVal<std::vector<MiiInfoElement>> MiiManager::GetDefault(SourceFlag source_
std::vector<MiiInfoElement> result;
if ((source_flag & SourceFlag::Default) == SourceFlag::None) {
- return MakeResult(std::move(result));
+ return result;
}
for (std::size_t index = BaseMiiCount; index < DefaultMiiCount; index++) {
result.emplace_back(BuildDefault(index), Source::Default);
}
- return MakeResult(std::move(result));
+ return result;
}
ResultCode MiiManager::GetIndex([[maybe_unused]] const MiiInfo& info, u32& index) {