Browse Source

Merge pull request #1191 from lioncash/noexcept

hle/result: Make ResultVal's move constructor as noexcept
pull/15/merge
bunnei 7 years ago
committed by GitHub
parent
commit
d8ba202070
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/core/hle/result.h

2
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));
}

Loading…
Cancel
Save