Boost logo

Boost-Commit :

From: chochlik_at_[hidden]
Date: 2008-06-04 13:50:35


Author: matus.chochlik
Date: 2008-06-04 13:50:35 EDT (Wed, 04 Jun 2008)
New Revision: 46131
URL: http://svn.boost.org/trac/boost/changeset/46131

Log:
Fixed a minor bug
Text files modified:
   sandbox/mirror/boost/mirror/traversal.hpp | 6 +++---
   1 files changed, 3 insertions(+), 3 deletions(-)

Modified: sandbox/mirror/boost/mirror/traversal.hpp
==============================================================================
--- sandbox/mirror/boost/mirror/traversal.hpp (original)
+++ sandbox/mirror/boost/mirror/traversal.hpp 2008-06-04 13:50:35 EDT (Wed, 04 Jun 2008)
@@ -189,11 +189,11 @@
                 visitor.get().visit_instance(mc, ptr_to_inst);
                 // go through the base classes
                 for_each<typename MetaClass::base_classes>(
- show_bases_to(visitor, ptr_to_inst)
+ ref(show_bases_to(visitor, ptr_to_inst))
                 );
                 // go through the own class' attributes
                 for_each<typename MetaClass::attributes>(
- show_attribs_to(visitor, ptr_to_inst)
+ ref(show_attribs_to(visitor, ptr_to_inst))
                 );
                 // leave the type
                 visitor.get().leave_type(mc);
@@ -239,7 +239,7 @@
                 visitor.get().visit_instance(mc, ptr_to_inst);
                 // go through all of the class' attributes
                 for_each<typename MetaClass::all_attributes>(
- show_attribs_to(visitor, ptr_to_inst)
+ ref(show_attribs_to(visitor, ptr_to_inst))
                 );
                 // leave the type
                 visitor.get().leave_type(mc);


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