aboutsummaryrefslogtreecommitdiff
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
commitfbbcb38b3db85253e623a88fade42489cbdf0fc1 (patch)
tree4819c20554058c939d1409c11faf1f8a2396cfd9 /src
parente7add3c3008a7cc384c4c18f90439fb8a189bcc6 (diff)
parentbe902fe06e20e9f4dce78c4006e422e3be844e75 (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 3ebf7aadf2..c6b18cfba2 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));
}