aboutsummaryrefslogtreecommitdiff
path: root/odb/qt/date-time/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
commit8f278506a9ef4de0f17bdce5b69b212140f94ec0 (patch)
treea426156ae515da4a76b24920ea6273973486ebf0 /odb/qt/date-time/exceptions.cxx
parentb4a5f3e816da59372fd1400960229473cba30032 (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/date-time/exceptions.cxx')
-rw-r--r--odb/qt/date-time/exceptions.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/qt/date-time/exceptions.cxx b/odb/qt/date-time/exceptions.cxx
index 43cba1f..dfc3efa 100644
--- a/odb/qt/date-time/exceptions.cxx
+++ b/odb/qt/date-time/exceptions.cxx
@@ -11,7 +11,7 @@ namespace odb
namespace date_time
{
const char* value_out_of_range::
- what () const throw ()
+ what () const ODB_NOTHROW_NOEXCEPT
{
return "date/time value out of range";
}