Tidied up msvc-warning suppression code.

[SVN r38562]
This commit is contained in:
John Maddock
2007-08-10 10:11:03 +00:00
parent 474822492b
commit e7b65221d1
11 changed files with 58 additions and 9 deletions

View File

@ -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