diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2022-12-14 19:36:20 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2022-12-15 10:44:53 +0300 |
commit | 5fef9aadd206dce1d0faa984e66a0c3eb12154dd (patch) | |
tree | 4fad170647d74e0a590e640b2d47c0782f3a0b26 /odb/lazy-ptr.ixx | |
parent | 3891eb7aed225ac9f2961c953634682af6f57906 (diff) |
Add noexcept to move constructors and move assignment operators
Diffstat (limited to 'odb/lazy-ptr.ixx')
-rw-r--r-- | odb/lazy-ptr.ixx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/odb/lazy-ptr.ixx b/odb/lazy-ptr.ixx index 647db83..a2d72f5 100644 --- a/odb/lazy-ptr.ixx +++ b/odb/lazy-ptr.ixx @@ -519,7 +519,7 @@ namespace odb template <class T, class D> lazy_unique_ptr<T, D>:: - lazy_unique_ptr (lazy_unique_ptr&& r) + lazy_unique_ptr (lazy_unique_ptr&& r) noexcept : p_ (std::move (r.p_)), i_ (std::move (r.i_)) {} template <class T, class D> @@ -545,7 +545,7 @@ namespace odb template <class T, class D> lazy_unique_ptr<T, D>& lazy_unique_ptr<T, D>:: - operator= (lazy_unique_ptr&& r) + operator= (lazy_unique_ptr&& r) noexcept { p_ = std::move (r.p_); i_ = std::move (r.i_); @@ -922,7 +922,7 @@ namespace odb template <class T> inline lazy_shared_ptr<T>:: - lazy_shared_ptr (lazy_shared_ptr&& r) + lazy_shared_ptr (lazy_shared_ptr&& r) noexcept : p_ (std::move (r.p_)), i_ (std::move (r.i_)) {} template <class T> @@ -979,7 +979,7 @@ namespace odb template <class T> inline lazy_shared_ptr<T>& lazy_shared_ptr<T>:: - operator= (lazy_shared_ptr&& r) + operator= (lazy_shared_ptr&& r) noexcept { p_ = std::move (r.p_); i_ = std::move (r.i_); |