mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-11-05 06:47:47 +01:00
Merge pull request #1191 from lioncash/noexcept
hle/result: Make ResultVal's move constructor as noexcept
This commit is contained in:
commit
fbbcb38b3d
1 file changed
+1
-1
@@ -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));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user