Fix exception specification and msvc warning push/pop.

This commit is contained in:
jzmaddock committed 2020-01-21 10:14:37 +00:00
1 parent 2cd947f7c4
commit f64c22870f
3 files changed
+14 -21

No files matched your search

+1 -1
View File
@@ -52,7 +52,7 @@ class BOOST_REGEX_DECL regex_error : public std::runtime_error
public:
explicit regex_error(const std::string& s, regex_constants::error_type err = regex_constants::error_unknown, std::ptrdiff_t pos = 0);
explicit regex_error(regex_constants::error_type err);
~regex_error() BOOST_NOEXCEPT;
~regex_error() BOOST_NOEXCEPT_OR_NOTHROW;
regex_constants::error_type code()const
{ return m_error_code; }
std::ptrdiff_t position()const