aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted/boost/phoenix/patches/modernize-throw-specs.patch
blob: a4253669a222908b64a1a529f3c2309593533162 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- a/include/boost/phoenix/function/lazy_operator.hpp	(index)
+++ b/include/boost/phoenix/function/lazy_operator.hpp	(working tree)
@@ -67,7 +67,7 @@ namespace boost {
    struct lazy_exception : public std::exception {
        const char* s;
        lazy_exception( const char* ss ) : s(ss) {}
-       const char* what() const throw() { return s; }
+       const char* what() const noexcept { return s; }
    };
 #endif