diff options
Diffstat (limited to 'odb/mssql/auto-handle.hxx')
-rw-r--r-- | odb/mssql/auto-handle.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/odb/mssql/auto-handle.hxx b/odb/mssql/auto-handle.hxx index 6b15e73..f6934e4 100644 --- a/odb/mssql/auto-handle.hxx +++ b/odb/mssql/auto-handle.hxx @@ -64,8 +64,8 @@ namespace odb } #ifdef ODB_CXX11 - auto_handle (auto_handle&& ah): h_ (ah.release ()) {} - auto_handle& operator= (auto_handle&& ah) + auto_handle (auto_handle&& ah) noexcept: h_ (ah.release ()) {} + auto_handle& operator= (auto_handle&& ah) noexcept { if (this != &ah) reset (ah.release ()); |