diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-06-15 18:50:51 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-06-15 18:50:51 +0200 |
commit | d1fb1f85fcf47219c6297cf734a9e8682068a577 (patch) | |
tree | dd012afe7023a56dd8df36949f47aa35bd718a88 /odb/oracle/exceptions.cxx | |
parent | 2a7fddcc8b90a3e89db7561a52ac12d896dd2b5f (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/oracle/exceptions.cxx')
-rw-r--r-- | odb/oracle/exceptions.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
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"; } |