aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2022-12-14 20:47:16 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2022-12-14 20:47:16 +0300
commite09f0f48b15106ac4048a28eb699e3d4cf43020c (patch)
treec8523baf17a5f14ae9edfcd14dea5b2a09da3aa4
parente022a925a6b3ccd98ec97e33c3dac8d0b25773ea (diff)
Add noexcept to move constructors and move assignment operators
-rw-r--r--odb/sqlite/database.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/odb/sqlite/database.hxx b/odb/sqlite/database.hxx
index e7579d6..e1e62cc 100644
--- a/odb/sqlite/database.hxx
+++ b/odb/sqlite/database.hxx
@@ -152,6 +152,9 @@ namespace odb
// Move-constructible but not move-assignable.
//
+ // Note: noexcept is not specified since odb::database(odb::database&&)
+ // can throw.
+ //
#ifdef ODB_CXX11
database (database&&);
#endif