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/details/transfer-ptr.hxx | |
parent | 3891eb7aed225ac9f2961c953634682af6f57906 (diff) |
Add noexcept to move constructors and move assignment operators
Diffstat (limited to 'odb/details/transfer-ptr.hxx')
-rw-r--r-- | odb/details/transfer-ptr.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/details/transfer-ptr.hxx b/odb/details/transfer-ptr.hxx index 2ee0752..4b63df6 100644 --- a/odb/details/transfer-ptr.hxx +++ b/odb/details/transfer-ptr.hxx @@ -49,7 +49,7 @@ namespace odb transfer_ptr& operator= (const transfer_ptr&); public: - transfer_ptr (transfer_ptr&& p): p_ (p.transfer ()) {} + transfer_ptr (transfer_ptr&& p) noexcept: p_ (p.transfer ()) {} #endif ~transfer_ptr () {delete p_;} |