summaryrefslogtreecommitdiff
path: root/src/core/hle
diff options
context:
space:
mode:
authorGravatar bunnei2018-08-28 12:27:48 -0400
committerGravatar GitHub2018-08-28 12:27:48 -0400
commitd8ba202070f116450658acbd8b414eecdd698c23 (patch)
tree4819c20554058c939d1409c11faf1f8a2396cfd9 /src/core/hle
parentMerge pull request #1194 from lioncash/alloc (diff)
parenthle/result: Make ResultVal's move constructor as noexcept (diff)
downloadyuzu-d8ba202070f116450658acbd8b414eecdd698c23.tar.gz
yuzu-d8ba202070f116450658acbd8b414eecdd698c23.tar.xz
yuzu-d8ba202070f116450658acbd8b414eecdd698c23.zip
Merge pull request #1191 from lioncash/noexcept
hle/result: Make ResultVal's move constructor as noexcept
Diffstat (limited to 'src/core/hle')
-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:
227 } 227 }
228 } 228 }
229 229
230 ResultVal(ResultVal&& o) : result_code(o.result_code) { 230 ResultVal(ResultVal&& o) noexcept : result_code(o.result_code) {
231 if (!o.empty()) { 231 if (!o.empty()) {
232 new (&object) T(std::move(o.object)); 232 new (&object) T(std::move(o.object));
233 } 233 }