Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r57366 - branches/release/boost/regex/v4
From: john_at_[hidden]
Date: 2009-11-04 12:22:59


Author: johnmaddock
Date: 2009-11-04 12:22:59 EST (Wed, 04 Nov 2009)
New Revision: 57366
URL: http://svn.boost.org/trac/boost/changeset/57366

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

Modified: branches/release/boost/regex/v4/basic_regex_parser.hpp
==============================================================================
--- branches/release/boost/regex/v4/basic_regex_parser.hpp (original)
+++ branches/release/boost/regex/v4/basic_regex_parser.hpp 2009-11-04 12:22:59 EST (Wed, 04 Nov 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