From 55dbef00001e583caad70ddd07a2692a1ecbb2a6 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Tue, 17 Sep 2002 12:41:05 +0000 Subject: [PATCH] Fix for data member support, result_type was R instead of R const & [SVN r15409] --- include/boost/bind.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/bind.hpp b/include/boost/bind.hpp index 968dac1..1c38452 100644 --- a/include/boost/bind.hpp +++ b/include/boost/bind.hpp @@ -1404,12 +1404,12 @@ template - _bi::bind_t< R, _mfi::dm, typename _bi::list_av_1::type > + _bi::bind_t< R const &, _mfi::dm, typename _bi::list_av_1::type > BOOST_BIND(R T::*f, A1 a1) { typedef _mfi::dm F; typedef typename _bi::list_av_1::type list_type; - return _bi::bind_t(F(f), list_type(a1)); + return _bi::bind_t(F(f), list_type(a1)); } } // namespace boost