summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2021-10-28 08:52:43 +0200
committerMorph <39850852+Morph1984@users.noreply.github.com>2021-10-28 09:07:18 +0200
commit1ff9ad4e7c5bee8081052f46b1acfb109731313b (patch)
treeab7470ed949b37854869b2a44488c2c9d7144871
parentMerge pull request #7218 from bylaws/aswdqdsam (diff)
downloadyuzu-1ff9ad4e7c5bee8081052f46b1acfb109731313b.tar
yuzu-1ff9ad4e7c5bee8081052f46b1acfb109731313b.tar.gz
yuzu-1ff9ad4e7c5bee8081052f46b1acfb109731313b.tar.bz2
yuzu-1ff9ad4e7c5bee8081052f46b1acfb109731313b.tar.lz
yuzu-1ff9ad4e7c5bee8081052f46b1acfb109731313b.tar.xz
yuzu-1ff9ad4e7c5bee8081052f46b1acfb109731313b.tar.zst
yuzu-1ff9ad4e7c5bee8081052f46b1acfb109731313b.zip
-rw-r--r--src/core/hle/result.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/result.h b/src/core/hle/result.h
index a755008d5..30025c790 100644
--- a/src/core/hle/result.h
+++ b/src/core/hle/result.h
@@ -329,8 +329,8 @@ template <typename T, typename... Args>
* copy or move constructing.
*/
template <typename Arg>
-[[nodiscard]] ResultVal<std::remove_reference_t<Arg>> MakeResult(Arg&& arg) {
- return ResultVal<std::remove_reference_t<Arg>>::WithCode(ResultSuccess, std::forward<Arg>(arg));
+[[nodiscard]] ResultVal<std::remove_cvref_t<Arg>> MakeResult(Arg&& arg) {
+ return ResultVal<std::remove_cvref_t<Arg>>::WithCode(ResultSuccess, std::forward<Arg>(arg));
}
/**