Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r62623 - trunk/boost/function
From: jewillco_at_[hidden]
Date: 2010-06-08 20:51:42


Author: jewillco
Date: 2010-06-08 20:51:41 EDT (Tue, 08 Jun 2010)
New Revision: 62623
URL: http://svn.boost.org/trac/boost/changeset/62623

Log:
Applied patch from #4073; fixes #4073
Text files modified:
   trunk/boost/function/function_template.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/boost/function/function_template.hpp
==============================================================================
--- trunk/boost/function/function_template.hpp (original)
+++ trunk/boost/function/function_template.hpp 2010-06-08 20:51:41 EDT (Tue, 08 Jun 2010)
@@ -536,7 +536,7 @@
           // objects, so we invoke through mem_fn() but we retain the
           // right target_type() values.
           if (f) {
- this->assign_to(mem_fn(f), functor);
+ this->assign_to(boost::mem_fn(f), functor);
             return true;
           } else {
             return false;
@@ -549,7 +549,7 @@
           // objects, so we invoke through mem_fn() but we retain the
           // right target_type() values.
           if (f) {
- this->assign_to_a(mem_fn(f), functor, a);
+ this->assign_to_a(boost::mem_fn(f), functor, a);
             return true;
           } else {
             return false;


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