$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r55040 - trunk/boost/spirit/home/support
From: hartmut.kaiser_at_[hidden]
Date: 2009-07-19 23:04:23
Author: hkaiser
Date: 2009-07-19 23:04:22 EDT (Sun, 19 Jul 2009)
New Revision: 55040
URL: http://svn.boost.org/trac/boost/changeset/55040
Log:
Spirit: fixing compiler and linker problems in attribute handling 
Text files modified: 
   trunk/boost/spirit/home/support/attributes.hpp |     6 +++---                                  
   1 files changed, 3 insertions(+), 3 deletions(-)
Modified: trunk/boost/spirit/home/support/attributes.hpp
==============================================================================
--- trunk/boost/spirit/home/support/attributes.hpp	(original)
+++ trunk/boost/spirit/home/support/attributes.hpp	2009-07-19 23:04:22 EDT (Sun, 19 Jul 2009)
@@ -432,7 +432,7 @@
     struct is_container;
 
     namespace detail
-    {      
+    {
         template <typename T>
         void clear_impl(T& val, mpl::false_)
         {
@@ -452,10 +452,10 @@
         }
 
         template <BOOST_VARIANT_ENUM_PARAMS(typename T)>
-        void clear_impl(boost::variant<BOOST_VARIANT_ENUM_PARAMS(T)>& val
+        void clear_impl(variant<BOOST_VARIANT_ENUM_PARAMS(T)>& val
           , mpl::true_)
         {
-            val = T0();
+            val = variant<BOOST_VARIANT_ENUM_PARAMS(T)>();
         }
     }