From d1fb1f85fcf47219c6297cf734a9e8682068a577 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 15 Jun 2016 18:50:51 +0200 Subject: Get rid of C++11 deprecation warnings for auto_ptr, exception specs In particular, std::auto_ptr is no longer mapped in C++11. --- odb/oracle/exceptions.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'odb/oracle/exceptions.cxx') diff --git a/odb/oracle/exceptions.cxx b/odb/oracle/exceptions.cxx index bfbe78d..1d9bdf1 100644 --- a/odb/oracle/exceptions.cxx +++ b/odb/oracle/exceptions.cxx @@ -23,7 +23,7 @@ namespace odb } database_exception:: - ~database_exception () throw () + ~database_exception () ODB_NOTHROW_NOEXCEPT { } @@ -52,7 +52,7 @@ namespace odb } const char* database_exception:: - what () const throw () + what () const ODB_NOTHROW_NOEXCEPT { return what_.c_str (); } @@ -68,7 +68,7 @@ namespace odb // const char* lob_comparison:: - what () const throw () + what () const ODB_NOTHROW_NOEXCEPT { return "comparison of LOB values in queries not supported"; } @@ -90,12 +90,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 (); } @@ -111,7 +111,7 @@ namespace odb // const char* invalid_oci_handle:: - what () const throw () + what () const ODB_NOTHROW_NOEXCEPT { return "invalid oci handle passed or unable to allocate handle"; } -- cgit v1.1