aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted/boost/property_map/patches/modernize-throw-specs.patch
blob: 8327d0dfb81c87ae7d8db28d1fe8e01aed69680a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--- a/include/boost/property_map/dynamic_property_map.hpp	(index)
+++ b/include/boost/property_map/dynamic_property_map.hpp	(working tree)
@@ -70,2 +70,2 @@ public:
-  ~dynamic_property_exception() throw() BOOST_OVERRIDE {}
-  const char* what() const throw() BOOST_OVERRIDE = 0;
+  ~dynamic_property_exception() BOOST_OVERRIDE {}
+  const char* what() const noexcept BOOST_OVERRIDE = 0;
@@ -80,3 +80,3 @@ public:
-  ~property_not_found() throw() BOOST_OVERRIDE {}
+  ~property_not_found() BOOST_OVERRIDE {}
 
-  const char* what() const throw() BOOST_OVERRIDE {
+  const char* what() const noexcept BOOST_OVERRIDE {
@@ -93,3 +93,3 @@ struct dynamic_get_failure : public dynamic_property_exception {
-  ~dynamic_get_failure() throw() BOOST_OVERRIDE {}
+  ~dynamic_get_failure() BOOST_OVERRIDE {}
 
-  const char* what() const throw() BOOST_OVERRIDE {
+  const char* what() const noexcept BOOST_OVERRIDE {
@@ -107,3 +107,3 @@ struct dynamic_get_failure : public dynamic_property_exception {
-  ~dynamic_const_put_error() throw() BOOST_OVERRIDE {}
+  ~dynamic_const_put_error() BOOST_OVERRIDE {}
 
-  const char* what() const throw() BOOST_OVERRIDE {
+  const char* what() const noexcept BOOST_OVERRIDE {