|
From: Frank M. H. <fm...@us...> - 2007-03-05 15:10:59
|
Update of /cvsroot/boost-sandbox/boost-sandbox/boost/thread_safe_signals/detail In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv24123/thread_safe_signals/detail Modified Files: slot_call_iterator.hpp Log Message: Throw more specific "expired_slot" exception, derived from bad_weak_ptr when slot is called with an expired tracked object. Index: slot_call_iterator.hpp =================================================================== RCS file: /cvsroot/boost-sandbox/boost-sandbox/boost/thread_safe_signals/detail/slot_call_iterator.hpp,v retrieving revision 1.24 retrieving revision 1.25 diff -u -d -r1.24 -r1.25 --- slot_call_iterator.hpp 5 Mar 2007 14:52:46 -0000 1.24 +++ slot_call_iterator.hpp 5 Mar 2007 15:10:55 -0000 1.25 @@ -67,7 +67,7 @@ { cache->reset(f(*iter)); } - catch(const bad_weak_ptr &err) + catch(const expired_slot &err) { (*iter)->disconnect(); throw; |