aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2022-12-14 19:58:16 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2022-12-14 19:58:16 +0300
commit107fd060898faaf447b2095c0b7d7172da0f2d4e (patch)
tree8cffb59ff31c41c4df939385b433ba62f4b3d33f
parent42c40850ceaac07c87d70dc02b57271735ec2c02 (diff)
Add noexcept to move constructors and move assignment operators
-rw-r--r--odb/pgsql/database.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/odb/pgsql/database.hxx b/odb/pgsql/database.hxx
index fcb3ad3..950cad1 100644
--- a/odb/pgsql/database.hxx
+++ b/odb/pgsql/database.hxx
@@ -79,6 +79,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