aboutsummaryrefslogtreecommitdiff
path: root/bpkg/database.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2022-12-14 13:35:30 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2022-12-14 20:58:13 +0300
commite6de36e1f9447c33447703b102146e0354ea6828 (patch)
tree87ba340d8aae1468b8dd8100574ba5cc49b23965 /bpkg/database.hxx
parent254593cf0b8386b9c1ee189c19d8221f7de201f1 (diff)
Add noexcept to move constructors and move assignment operators
Diffstat (limited to 'bpkg/database.hxx')
-rw-r--r--bpkg/database.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/bpkg/database.hxx b/bpkg/database.hxx
index cfd2645..3887d99 100644
--- a/bpkg/database.hxx
+++ b/bpkg/database.hxx
@@ -158,6 +158,9 @@ namespace bpkg
// Move-constructible but not move-assignable.
//
+ // Note: noexcept is not specified since
+ // odb::sqlite::database(odb::sqlite::database&&) can throw.
+ //
database (database&&);
database& operator= (database&&) = delete;