Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r49115 - sandbox/thread_safe_signals/trunk/boost/signals2/detail
From: fmhess_at_[hidden]
Date: 2008-10-02 14:17:50


Author: fmhess
Date: 2008-10-02 14:17:49 EDT (Thu, 02 Oct 2008)
New Revision: 49115
URL: http://svn.boost.org/trac/boost/changeset/49115

Log:
Fixed recognition of const signal as a signal.

Text files modified:
   sandbox/thread_safe_signals/trunk/boost/signals2/detail/signals_common.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: sandbox/thread_safe_signals/trunk/boost/signals2/detail/signals_common.hpp
==============================================================================
--- sandbox/thread_safe_signals/trunk/boost/signals2/detail/signals_common.hpp (original)
+++ sandbox/thread_safe_signals/trunk/boost/signals2/detail/signals_common.hpp 2008-10-02 14:17:49 EDT (Thu, 02 Oct 2008)
@@ -41,7 +41,7 @@
 
       // Determine if the given type T is a signal
       template<typename T>
- class is_signal: public mpl::bool_<is_convertible<T*, signal_base*>::value>
+ class is_signal: public mpl::bool_<is_base_of<signal_base, T>::value>
       {};
 
       // A slot can be a signal, a reference to a function object, or a


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