diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2022-12-09 20:00:08 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2022-12-13 14:50:13 +0300 |
commit | c6c224a78715d5e2c532fe318325fbca8e70e701 (patch) | |
tree | dc755313aa482f62ebac15ade66c41a24e908d86 /libbutl/utility.ixx | |
parent | 8cc86445437e7afc583dee18b36c0e8ba4b6fe12 (diff) |
Add noexcept to move constructors and move assignment operators
Diffstat (limited to 'libbutl/utility.ixx')
-rw-r--r-- | libbutl/utility.ixx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbutl/utility.ixx b/libbutl/utility.ixx index 45bbf9d..0ce33a7 100644 --- a/libbutl/utility.ixx +++ b/libbutl/utility.ixx @@ -371,14 +371,14 @@ namespace butl } inline auto_thread_env:: - auto_thread_env (auto_thread_env&& x) + auto_thread_env (auto_thread_env&& x) noexcept : prev_env (std::move (x.prev_env)) { x.prev_env = nullopt; } inline auto_thread_env& auto_thread_env:: - operator= (auto_thread_env&& x) + operator= (auto_thread_env&& x) noexcept { if (this != &x) { |