Boost logo

Boost-Commit :

From: john_at_[hidden]
Date: 2008-04-10 08:46:41


Author: johnmaddock
Date: 2008-04-10 08:46:41 EDT (Thu, 10 Apr 2008)
New Revision: 44145
URL: http://svn.boost.org/trac/boost/changeset/44145

Log:
Doh! Changes to code should actually compile!
A fix for the last change.
Text files modified:
   trunk/boost/regex/concepts.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/regex/concepts.hpp
==============================================================================
--- trunk/boost/regex/concepts.hpp (original)
+++ trunk/boost/regex/concepts.hpp 2008-04-10 08:46:41 EDT (Thu, 10 Apr 2008)
@@ -383,7 +383,7 @@
       typedef typename sub_match_type::iterator sub_iter_type;
       BOOST_STATIC_ASSERT((::boost::is_same<sub_value_type, value_type>::value));
       BOOST_STATIC_ASSERT((::boost::is_same<sub_iter_type, BidiIterator>::value));
- b = m_sub.matched;
+ bool b = m_sub.matched;
       ignore_unused_variable_warning(b);
       BidiIterator bi = m_sub.first;
       ignore_unused_variable_warning(bi);


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