From 6e9b9a7995a77693e161706571f79145cab9263c Mon Sep 17 00:00:00 2001 From: John Maddock Date: Thu, 10 Apr 2008 12:46:41 +0000 Subject: [PATCH] Doh! Changes to code should actually compile! A fix for the last change. [SVN r44145] --- include/boost/regex/concepts.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/regex/concepts.hpp b/include/boost/regex/concepts.hpp index 97c77978..99c6eea5 100644 --- a/include/boost/regex/concepts.hpp +++ b/include/boost/regex/concepts.hpp @@ -383,7 +383,7 @@ struct BaseRegexConcept typedef typename sub_match_type::iterator sub_iter_type; BOOST_STATIC_ASSERT((::boost::is_same::value)); BOOST_STATIC_ASSERT((::boost::is_same::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);