aboutsummaryrefslogtreecommitdiff
path: root/odb/mysql/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
commit3653a5cd92167a4998fb8bb975b9e60c4db139d7 (patch)
tree6a2cacbda6f9287a6816c95ac19fe65bcfd2d058 /odb/mysql/exceptions.cxx
parentb4ef3b4e015e6730d283cb9e7dd3f8d7ca204904 (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/mysql/exceptions.cxx')
-rw-r--r--odb/mysql/exceptions.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/odb/mysql/exceptions.cxx b/odb/mysql/exceptions.cxx
index 7d5fb67..fe3aa8c 100644
--- a/odb/mysql/exceptions.cxx
+++ b/odb/mysql/exceptions.cxx
@@ -17,7 +17,7 @@ namespace odb
//
database_exception::
- ~database_exception () throw ()
+ ~database_exception () ODB_NOTHROW_NOEXCEPT
{
}
@@ -31,7 +31,7 @@ namespace odb
}
const char* database_exception::
- what () const throw ()
+ what () const ODB_NOTHROW_NOEXCEPT
{
return what_.c_str ();
}
@@ -53,12 +53,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 ();
}