aboutsummaryrefslogtreecommitdiff
path: root/odb/mssql/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
commit5dca512d7f1d60c5a1d73b92601bc134a30ff6b8 (patch)
treea6f4e656615ad8b7c60ca824f414a47077adc8c3 /odb/mssql/exceptions.cxx
parent3740aa19bc7b426ae89d583362cd32b152ff782f (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/mssql/exceptions.cxx')
-rw-r--r--odb/mssql/exceptions.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/odb/mssql/exceptions.cxx b/odb/mssql/exceptions.cxx
index 373fb82..166d958 100644
--- a/odb/mssql/exceptions.cxx
+++ b/odb/mssql/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 ();
}
@@ -74,12 +74,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 ();
}
@@ -95,7 +95,7 @@ namespace odb
//
const char* long_data_reload::
- what () const throw ()
+ what () const ODB_NOTHROW_NOEXCEPT
{
return "attempt to re-load object or view with long data "
"from query result";