1 // Boost.Signals2 library
3 // Copyright Frank Mori Hess 2007-2010.
4 // Use, modification and
5 // distribution is subject to the Boost Software License, Version
6 // 1.0. (See accompanying file LICENSE_1_0.txt or copy at
7 // http://www.boost.org/LICENSE_1_0.txt)
9 // For more information, see http://www.boost.org
11 #ifndef BOOST_SIGNALS2_EXPIRED_SLOT_HPP
12 #define BOOST_SIGNALS2_EXPIRED_SLOT_HPP
14 #include <boost/smart_ptr/bad_weak_ptr.hpp>
20 class expired_slot: public bad_weak_ptr
23 virtual char const * what() const throw()
25 return "boost::signals2::expired_slot";
29 } // end namespace boost
31 #endif // BOOST_SIGNALS2_EXPIRED_SLOT_HPP