aboutsummaryrefslogtreecommitdiff
path: root/odb/boost/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
commit500550e39e1ab9a3cd97ac2f1902ff5386ff9211 (patch)
tree93c379b3df7b06c482780101814d2dab78b319e7 /odb/boost/date-time/exceptions.cxx
parentff3773359abbed8fbe11e8223418305e49b7463f (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/boost/date-time/exceptions.cxx')
-rw-r--r--odb/boost/date-time/exceptions.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/odb/boost/date-time/exceptions.cxx b/odb/boost/date-time/exceptions.cxx
index cd868bc..1fe0dbd 100644
--- a/odb/boost/date-time/exceptions.cxx
+++ b/odb/boost/date-time/exceptions.cxx
@@ -11,7 +11,7 @@ namespace odb
namespace date_time
{
const char* special_value::
- what () const throw ()
+ what () const ODB_NOTHROW_NOEXCEPT
{
return "unrepresentable date/time special value";
}
@@ -23,7 +23,7 @@ namespace odb
}
const char* value_out_of_range::
- what () const throw ()
+ what () const ODB_NOTHROW_NOEXCEPT
{
return "date/time value out of range";
}