Change constant values to avoid clash with gcc-4 on Darwin.

[SVN r29727]
This commit is contained in:
John Maddock
2005-06-22 09:50:29 +00:00
parent 6064aa15cb
commit b2e8ee918f

View File

@ -395,9 +395,9 @@ public:
typedef typename cpp_regex_traits<charT>::char_class_type char_class_type; typedef typename cpp_regex_traits<charT>::char_class_type char_class_type;
typedef typename std::ctype<charT>::mask native_mask_type; typedef typename std::ctype<charT>::mask native_mask_type;
#ifndef BOOST_REGEX_BUGGY_CTYPE_FACET #ifndef BOOST_REGEX_BUGGY_CTYPE_FACET
BOOST_STATIC_CONSTANT(char_class_type, mask_blank = 1u << 16); BOOST_STATIC_CONSTANT(char_class_type, mask_blank = 1u << 24);
BOOST_STATIC_CONSTANT(char_class_type, mask_word = 1u << 17); BOOST_STATIC_CONSTANT(char_class_type, mask_word = 1u << 25);
BOOST_STATIC_CONSTANT(char_class_type, mask_unicode = 1u << 18); BOOST_STATIC_CONSTANT(char_class_type, mask_unicode = 1u << 26);
#endif #endif
typedef std::basic_string<charT> string_type; typedef std::basic_string<charT> string_type;