summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-08-28 12:27:48 -0400
committerGitHub <noreply@github.com>2018-08-28 12:27:48 -0400
commitd8ba202070f116450658acbd8b414eecdd698c23 (patch)
tree4819c20554058c939d1409c11faf1f8a2396cfd9 /src
parent72e4499a9e01303e155d42ce39c72a4d5fccc7af (diff)
parentf1bc62bb4c962de530c22d2a1e73d33cdc85ea92 (diff)
Merge pull request #1191 from lioncash/noexcept
hle/result: Make ResultVal's move constructor as noexcept
Diffstat (limited to 'src')
-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));
}