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 | 8f278506a9ef4de0f17bdce5b69b212140f94ec0 (patch) | |
tree | a426156ae515da4a76b24920ea6273973486ebf0 /odb/qt/exception.hxx | |
parent | b4a5f3e816da59372fd1400960229473cba30032 (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/qt/exception.hxx')
-rw-r--r-- | odb/qt/exception.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/odb/qt/exception.hxx b/odb/qt/exception.hxx index 89a0ec7..0604c72 100644 --- a/odb/qt/exception.hxx +++ b/odb/qt/exception.hxx @@ -9,6 +9,7 @@ #include <odb/exceptions.hxx> +#include <odb/details/config.hxx> // ODB_NOTHROW_NOEXCEPT #include <odb/qt/details/export.hxx> namespace odb @@ -18,7 +19,7 @@ namespace odb struct LIBODB_QT_EXPORT exception: odb::exception { virtual const char* - what () const throw () = 0; + what () const ODB_NOTHROW_NOEXCEPT = 0; }; } } |