From e6de36e1f9447c33447703b102146e0354ea6828 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 14 Dec 2022 13:35:30 +0300 Subject: Add noexcept to move constructors and move assignment operators --- bpkg/database.hxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bpkg/database.hxx') 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; -- cgit v1.1