diff options
Diffstat (limited to 'src')
| -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> | |||
| 329 | * copy or move constructing. | 329 | * copy or move constructing. |
| 330 | */ | 330 | */ |
| 331 | template <typename Arg> | 331 | template <typename Arg> |
| 332 | [[nodiscard]] ResultVal<std::remove_reference_t<Arg>> MakeResult(Arg&& arg) { | 332 | [[nodiscard]] ResultVal<std::remove_cvref_t<Arg>> MakeResult(Arg&& arg) { |
| 333 | return ResultVal<std::remove_reference_t<Arg>>::WithCode(ResultSuccess, std::forward<Arg>(arg)); | 333 | return ResultVal<std::remove_cvref_t<Arg>>::WithCode(ResultSuccess, std::forward<Arg>(arg)); |
| 334 | } | 334 | } |
| 335 | 335 | ||
| 336 | /** | 336 | /** |