Skip to content
Snippets Groups Projects
Unverified Commit d8ba2020 authored by bunnei's avatar bunnei Committed by GitHub
Browse files

Merge pull request #1191 from lioncash/noexcept

hle/result: Make ResultVal's move constructor as noexcept
parents 72e4499a f1bc62bb
No related branches found
No related tags found
No related merge requests found
......@@ -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));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment