? my_fix.patch
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/libsigc++2/ChangeLog,v
retrieving revision 1.165
diff -u -p -r1.165 ChangeLog
--- ChangeLog	27 Jan 2005 12:00:00 -0000	1.165
+++ ChangeLog	28 Jan 2005 21:19:11 -0000
@@ -1,3 +1,9 @@
+2005-01-28  Liza Klerck   <liza@trdlnk.com>
+
+	* sigc++/functors/macros/mem_fun.h.m4: Add a sigc:: namespace 
+	prefix to the nested use of visit_each(), to avoid ambiguity when 
+	using 2 versions of the libsigc++ API inside different namespace.
+	
 2005-01-27  Murray Cumming  <murrayc@murrayc.com>
 
 	* sigc++/adaptors/macros/adaptor_trait.h.m4: Add a sigc:: namespace 
Index: sigc++/functors/macros/mem_fun.h.m4
===================================================================
RCS file: /cvs/gnome/libsigc++2/sigc++/functors/macros/mem_fun.h.m4,v
retrieving revision 1.7
diff -u -p -r1.7 mem_fun.h.m4
--- sigc++/functors/macros/mem_fun.h.m4	7 Jul 2004 09:26:45 -0000	1.7
+++ sigc++/functors/macros/mem_fun.h.m4	28 Jan 2005 21:19:13 -0000
@@ -125,7 +125,7 @@ template <LIST(class T_action, class T_r
 void visit_each(const T_action& _A_action,
                 const bound_[$2]mem_functor$1<LIST(T_return, T_obj, LOOP(T_arg%1, $1))>& _A_target)
 {
-  visit_each(_A_action, *_A_target.obj_ptr_);
+  sigc::visit_each(_A_action, *_A_target.obj_ptr_);
 }
 
 ])
