general: Remove MakeResult helpers

This is made obsolete by the presence of implicit constructors.
This commit is contained in:
Morph 2021-11-02 17:23:19 -04:00
parent 98b351758c
commit cb09ea0f01
13 changed files with 48 additions and 69 deletions

View file

@ -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) {