diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2022-12-13 22:03:02 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2022-12-15 12:45:07 +0300 |
commit | b3b14171766089890b9e1b44935ed5dbc233c5f8 (patch) | |
tree | b3f0d1471fe5c28187a0d5db0a6eae3822516e7a /libbuild2/context.ixx | |
parent | 3ca670b7b7c71ca67d70cac9dffb2ba6120b2e36 (diff) |
Add noexcept to move constructors and move assignment operators
Diffstat (limited to 'libbuild2/context.ixx')
-rw-r--r-- | libbuild2/context.ixx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/context.ixx b/libbuild2/context.ixx index 4f86c28..95c5416 100644 --- a/libbuild2/context.ixx +++ b/libbuild2/context.ixx @@ -31,7 +31,7 @@ namespace build2 } inline wait_guard:: - wait_guard (wait_guard&& x) + wait_guard (wait_guard&& x) noexcept : ctx (x.ctx), start_count (x.start_count), task_count (x.task_count), @@ -41,7 +41,7 @@ namespace build2 } inline wait_guard& wait_guard:: - operator= (wait_guard&& x) + operator= (wait_guard&& x) noexcept { if (&x != this) { |