diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2022-12-14 13:54:21 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2022-12-15 12:46:35 +0300 |
commit | 34e232023e8f973636f3fa37b8f9d071c16086a2 (patch) | |
tree | 33abaa41394f2e0b78be03fc8755c47fc9c7135f | |
parent | dc88104e7ec8b788f74c8d06e8bedcf6e9ec0114 (diff) |
Add noexcept to move constructors and move assignment operators
-rw-r--r-- | bdep/sync.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bdep/sync.hxx b/bdep/sync.hxx index 4d2ddbd..b025e40 100644 --- a/bdep/sync.hxx +++ b/bdep/sync.hxx @@ -24,7 +24,7 @@ namespace bdep synced_configs_guard (optional<string> o): original (move (o)) {} ~synced_configs_guard (); - synced_configs_guard (synced_configs_guard&& r) + synced_configs_guard (synced_configs_guard&& r) noexcept : original (move (r.original)) { r.original = nullopt; |