|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r50377 - trunk/boost/regex/v4
From: john_at_[hidden]
Date: 2008-12-24 05:14:56
Author: johnmaddock
Date: 2008-12-24 05:14:55 EST (Wed, 24 Dec 2008)
New Revision: 50377
URL: http://svn.boost.org/trac/boost/changeset/50377
Log:
Fix gcc warnings.
Text files modified:
trunk/boost/regex/v4/basic_regex_parser.hpp | 3 ++-
1 files changed, 2 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 2008-12-24 05:14:55 EST (Wed, 24 Dec 2008)
@@ -111,9 +111,10 @@
// empty strings are errors:
if((p1 == p2) &&
(
- (l_flags & regbase::main_option_type) != regbase::perl_syntax_group)
+ ((l_flags & regbase::main_option_type) != regbase::perl_syntax_group)
|| (l_flags & regbase::no_empty_expressions)
)
+ )
{
fail(regex_constants::error_empty, 0);
return;
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