aboutsummaryrefslogtreecommitdiff
path: root/odb/pgsql/exceptions.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-06-15 18:50:51 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-06-15 18:50:51 +0200
commit5e72f6ab51d81aa270c758dada394533fad2d0f9 (patch)
tree5bfd7c79543b1e69a665201b31572981ee5bd405 /odb/pgsql/exceptions.cxx
parente4ccdb8dbb909de56e3bb3b9becfd19c0b9c6b6e (diff)
Get rid of C++11 deprecation warnings for auto_ptr, exception specs
In particular, std::auto_ptr is no longer mapped in C++11.
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 ();
}