diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-10-28 08:52:43 +0200 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-10-28 09:07:18 +0200 |
commit | 1ff9ad4e7c5bee8081052f46b1acfb109731313b (patch) | |
tree | ab7470ed949b37854869b2a44488c2c9d7144871 /src/core/hle | |
parent | Merge pull request #7218 from bylaws/aswdqdsam (diff) | |
download | yuzu-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 |
Diffstat (limited to 'src/core/hle')
-rw-r--r-- | src/core/hle/result.h | 4 |
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)); } /** |