Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r71888 - trunk/boost/signals2/detail
From: fmhess_at_[hidden]
Date: 2011-05-12 09:26:25


Author: fmhess
Date: 2011-05-12 09:26:25 EDT (Thu, 12 May 2011)
New Revision: 71888
URL: http://svn.boost.org/trac/boost/changeset/71888

Log:
Declare assignment operator of slot_invoker private.

Text files modified:
   trunk/boost/signals2/detail/signal_template.hpp | 3 +++
   1 files changed, 3 insertions(+), 0 deletions(-)

Modified: trunk/boost/signals2/detail/signal_template.hpp
==============================================================================
--- trunk/boost/signals2/detail/signal_template.hpp (original)
+++ trunk/boost/signals2/detail/signal_template.hpp 2011-05-12 09:26:25 EDT (Thu, 12 May 2011)
@@ -345,6 +345,9 @@
               resolver);
           }
         private:
+ // declare assignment operator private since this class might have reference or const members
+ slot_invoker & operator=(const slot_invoker &);
+
 #define BOOST_SIGNALS2_ADD_REF_M_ARG_STATEMENT(z, n, data) \
   BOOST_SIGNALS2_ADD_REF_TYPE(~, n, ~) BOOST_SIGNALS2_M_ARG_NAME(~, n, ~) ;
           BOOST_PP_REPEAT(BOOST_SIGNALS2_NUM_ARGS, BOOST_SIGNALS2_ADD_REF_M_ARG_STATEMENT, ~)


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