mirror of
https://github.com/boostorg/regex.git
synced 2025-07-17 22:32:09 +02:00
Tidied up msvc-warning suppression code.
[SVN r38562]
This commit is contained in:
@ -37,7 +37,7 @@ namespace boost{
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable : 4275)
|
||||
#endif
|
||||
class BOOST_REGEX_DECL regex_error : public std::runtime_error
|
||||
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);
|
||||
@ -70,6 +70,9 @@ void raise_error(const traits& t, regex_constants::error_type code)
|
||||
|
||||
}
|
||||
|
||||
#ifdef BOOST_MSVC
|
||||
#pragma warning(pop)
|
||||
#endif
|
||||
|
||||
#ifdef BOOST_HAS_ABI_HEADERS
|
||||
# include BOOST_ABI_SUFFIX
|
||||
|
Reference in New Issue
Block a user