Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r80312 - trunk/boost/xpressive/traits
From: eric_at_[hidden]
Date: 2012-08-29 17:14:25


Author: eric_niebler
Date: 2012-08-29 17:14:24 EDT (Wed, 29 Aug 2012)
New Revision: 80312
URL: http://svn.boost.org/trac/boost/changeset/80312

Log:
fix erroneous use of BOOST_CONSTEXPR config macro
Text files modified:
   trunk/boost/xpressive/traits/cpp_regex_traits.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/xpressive/traits/cpp_regex_traits.hpp
==============================================================================
--- trunk/boost/xpressive/traits/cpp_regex_traits.hpp (original)
+++ trunk/boost/xpressive/traits/cpp_regex_traits.hpp 2012-08-29 17:14:24 EDT (Wed, 29 Aug 2012)
@@ -607,7 +607,7 @@
     /// INTERNAL ONLY
     static char_class_pair const &char_class(std::size_t j)
     {
- static BOOST_CONSTEXPR char_class_pair const s_char_class_map[] =
+ static BOOST_CONSTEXPR_OR_CONST char_class_pair s_char_class_map[] =
         {
             { BOOST_XPR_CSTR_(char_type, "alnum"), detail::std_ctype_alnum }
           , { BOOST_XPR_CSTR_(char_type, "alpha"), detail::std_ctype_alpha }


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk