From 95ddff1f012f8db9e8095a64fefdd9ca96de94e9 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Wed, 4 Nov 2009 17:22:59 +0000 Subject: [PATCH] Suppress gcc-4.4.1 warnings. [SVN r57366] --- include/boost/regex/v4/basic_regex_parser.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/regex/v4/basic_regex_parser.hpp b/include/boost/regex/v4/basic_regex_parser.hpp index 7d2f5543..ebec35b6 100644 --- a/include/boost/regex/v4/basic_regex_parser.hpp +++ b/include/boost/regex/v4/basic_regex_parser.hpp @@ -2008,7 +2008,7 @@ insert_recursion: v = static_cast(hash_value_from_capture_name(base, m_position)); re_brace* br = static_cast(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;