Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r55688 - trunk/boost/regex/v4
From: john_at_[hidden]
Date: 2009-08-20 13:27:25


Author: johnmaddock
Date: 2009-08-20 13:27:24 EDT (Thu, 20 Aug 2009)
New Revision: 55688
URL: http://svn.boost.org/trac/boost/changeset/55688

Log:
Suppress GCC warnings.
Text files modified:
   trunk/boost/regex/v4/basic_regex_parser.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/regex/v4/basic_regex_parser.hpp
==============================================================================
--- trunk/boost/regex/v4/basic_regex_parser.hpp (original)
+++ trunk/boost/regex/v4/basic_regex_parser.hpp 2009-08-20 13:27:24 EDT (Thu, 20 Aug 2009)
@@ -2008,7 +2008,7 @@
          v = static_cast<int>(hash_value_from_capture_name(base, m_position));
          re_brace* br = static_cast<re_brace*>(this->append_state(syntax_element_assert_backref, sizeof(re_brace)));
          br->index = v;
- if((*m_position != charT('>')) && (*m_position != charT('\'')) || (++m_position == m_end))
+ if(((*m_position != charT('>')) && (*m_position != charT('\''))) || (++m_position == m_end))
          {
             fail(regex_constants::error_badrepeat, m_position - m_base);
             return false;


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