aboutsummaryrefslogtreecommitdiff
path: root/odb/pgsql/exceptions.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/pgsql/exceptions.cxx')
-rw-r--r--odb/pgsql/exceptions.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/odb/pgsql/exceptions.cxx b/odb/pgsql/exceptions.cxx
index 115b9f8..beec784 100644
--- a/odb/pgsql/exceptions.cxx
+++ b/odb/pgsql/exceptions.cxx
@@ -31,12 +31,12 @@ namespace odb
}
database_exception::
- ~database_exception () throw ()
+ ~database_exception () ODB_NOTHROW_NOEXCEPT
{
}
const char* database_exception::
- what () const throw ()
+ what () const ODB_NOTHROW_NOEXCEPT
{
return what_.c_str ();
}
@@ -58,12 +58,12 @@ namespace odb
}
cli_exception::
- ~cli_exception () throw ()
+ ~cli_exception () ODB_NOTHROW_NOEXCEPT
{
}
const char* cli_exception::
- what () const throw ()
+ what () const ODB_NOTHROW_NOEXCEPT
{
return what_.c_str ();
}