$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
From: john_at_[hidden]
Date: 2008-04-09 11:32:08
Author: johnmaddock
Date: 2008-04-09 11:32:08 EDT (Wed, 09 Apr 2008)
New Revision: 44128
URL: http://svn.boost.org/trac/boost/changeset/44128
Log:
Fix for bug #1790.
Text files modified: 
   trunk/boost/regex/concepts.hpp |     4 ++--                                    
   1 files changed, 2 insertions(+), 2 deletions(-)
Modified: trunk/boost/regex/concepts.hpp
==============================================================================
--- trunk/boost/regex/concepts.hpp	(original)
+++ trunk/boost/regex/concepts.hpp	2008-04-09 11:32:08 EDT (Wed, 09 Apr 2008)
@@ -368,8 +368,6 @@
 
       // access:
       const Regex ce;
-      bool b = ce.empty();
-      ignore_unused_variable_warning(b);
       unsigned i = ce.mark_count();
       ignore_unused_variable_warning(i);
       m_flags = ce.flags();
@@ -806,6 +804,8 @@
       ignore_unused_variable_warning(i2);
       bool b = ce == ce2;
       ignore_unused_variable_warning(b);
+      b = ce.empty();
+      ignore_unused_variable_warning(b);
       b = ce != ce2;
       ignore_unused_variable_warning(b);
       b = ce < ce2;