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