summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-08-28 18:27:48 +0200
committerGitHub <noreply@github.com>2018-08-28 18:27:48 +0200
commitd8ba202070f116450658acbd8b414eecdd698c23 (patch)
tree4819c20554058c939d1409c11faf1f8a2396cfd9
parentMerge pull request #1194 from lioncash/alloc (diff)
parenthle/result: Make ResultVal's move constructor as noexcept (diff)
downloadyuzu-d8ba202070f116450658acbd8b414eecdd698c23.tar
yuzu-d8ba202070f116450658acbd8b414eecdd698c23.tar.gz
yuzu-d8ba202070f116450658acbd8b414eecdd698c23.tar.bz2
yuzu-d8ba202070f116450658acbd8b414eecdd698c23.tar.lz
yuzu-d8ba202070f116450658acbd8b414eecdd698c23.tar.xz
yuzu-d8ba202070f116450658acbd8b414eecdd698c23.tar.zst
yuzu-d8ba202070f116450658acbd8b414eecdd698c23.zip
-rw-r--r--src/core/hle/result.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/result.h b/src/core/hle/result.h
index 3ebf7aadf..c6b18cfba 100644
--- a/src/core/hle/result.h
+++ b/src/core/hle/result.h
@@ -227,7 +227,7 @@ public:
}
}
- ResultVal(ResultVal&& o) : result_code(o.result_code) {
+ ResultVal(ResultVal&& o) noexcept : result_code(o.result_code) {
if (!o.empty()) {
new (&object) T(std::move(o.object));
}