From fe29b398c4b94a93bbfcd7e2a89cea74bdc340c0 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 14 Dec 2022 19:54:33 +0300 Subject: Add noexcept to move constructors and move assignment operators --- odb/mysql/database.hxx | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v1.1