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/mingw-thread.hxx | |
parent | 8cc86445437e7afc583dee18b36c0e8ba4b6fe12 (diff) |
Add noexcept to move constructors and move assignment operators
Diffstat (limited to 'libbutl/mingw-thread.hxx')
-rw-r--r-- | libbutl/mingw-thread.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbutl/mingw-thread.hxx b/libbutl/mingw-thread.hxx index b308dde..66f98aa 100644 --- a/libbutl/mingw-thread.hxx +++ b/libbutl/mingw-thread.hxx @@ -154,7 +154,7 @@ namespace mingw_stdthread native_handle_type native_handle() const {return mHandle;} thread(): mHandle(kInvalidHandle), mThreadId(){} - thread(thread&& other) + thread(thread&& other) noexcept :mHandle(other.mHandle), mThreadId(other.mThreadId) { other.mHandle = kInvalidHandle; |