aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2022-12-14 19:54:33 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2022-12-14 19:54:33 +0300
commitfe29b398c4b94a93bbfcd7e2a89cea74bdc340c0 (patch)
tree9f91e41c3f7b6f02c2e4323bc597a5d64d15af7b
parentb5778fbc764cb72dcc2ec2fa72209b969f266d69 (diff)
Add noexcept to move constructors and move assignment operators
-rw-r--r--odb/mysql/database.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/odb/mysql/database.hxx b/odb/mysql/database.hxx
index ea4948c..e73b7c9 100644
--- a/odb/mysql/database.hxx
+++ b/odb/mysql/database.hxx
@@ -117,6 +117,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