From b2e8ee918fb77ded6c2079c6f9a37d596578f2d5 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Wed, 22 Jun 2005 09:50:29 +0000 Subject: [PATCH] Change constant values to avoid clash with gcc-4 on Darwin. [SVN r29727] --- include/boost/regex/v4/cpp_regex_traits.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/boost/regex/v4/cpp_regex_traits.hpp b/include/boost/regex/v4/cpp_regex_traits.hpp index 79727558..05681723 100644 --- a/include/boost/regex/v4/cpp_regex_traits.hpp +++ b/include/boost/regex/v4/cpp_regex_traits.hpp @@ -395,9 +395,9 @@ public: typedef typename cpp_regex_traits::char_class_type char_class_type; typedef typename std::ctype::mask native_mask_type; #ifndef BOOST_REGEX_BUGGY_CTYPE_FACET - BOOST_STATIC_CONSTANT(char_class_type, mask_blank = 1u << 16); - BOOST_STATIC_CONSTANT(char_class_type, mask_word = 1u << 17); - BOOST_STATIC_CONSTANT(char_class_type, mask_unicode = 1u << 18); + BOOST_STATIC_CONSTANT(char_class_type, mask_blank = 1u << 24); + BOOST_STATIC_CONSTANT(char_class_type, mask_word = 1u << 25); + BOOST_STATIC_CONSTANT(char_class_type, mask_unicode = 1u << 26); #endif typedef std::basic_string string_type;