summaryrefslogtreecommitdiff
path: root/boost/spirit/home/classic/error_handling/exceptions.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/spirit/home/classic/error_handling/exceptions.hpp')
-rw-r--r--boost/spirit/home/classic/error_handling/exceptions.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/boost/spirit/home/classic/error_handling/exceptions.hpp b/boost/spirit/home/classic/error_handling/exceptions.hpp
index 224ac468ca..947d7a7b62 100644
--- a/boost/spirit/home/classic/error_handling/exceptions.hpp
+++ b/boost/spirit/home/classic/error_handling/exceptions.hpp
@@ -39,7 +39,7 @@ BOOST_SPIRIT_CLASSIC_NAMESPACE_BEGIN
protected:
parser_error_base() {}
- virtual ~parser_error_base() throw() {}
+ virtual ~parser_error_base() BOOST_NOEXCEPT_OR_NOTHROW {}
public:
@@ -87,10 +87,10 @@ BOOST_SPIRIT_CLASSIC_NAMESPACE_BEGIN
}
virtual
- ~parser_error() throw() {}
+ ~parser_error() BOOST_NOEXCEPT_OR_NOTHROW {}
virtual const char*
- what() const throw()
+ what() const BOOST_NOEXCEPT_OR_NOTHROW
{
return "BOOST_SPIRIT_CLASSIC_NS::parser_error";
}