]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/signals2/include/boost/signals2/expired_slot.hpp
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / signals2 / include / boost / signals2 / expired_slot.hpp
1 // Boost.Signals2 library
2
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)
8
9 // For more information, see http://www.boost.org
10
11 #ifndef BOOST_SIGNALS2_EXPIRED_SLOT_HPP
12 #define BOOST_SIGNALS2_EXPIRED_SLOT_HPP
13
14 #include <boost/smart_ptr/bad_weak_ptr.hpp>
15
16 namespace boost
17 {
18 namespace signals2
19 {
20 class expired_slot: public bad_weak_ptr
21 {
22 public:
23 virtual char const * what() const throw()
24 {
25 return "boost::signals2::expired_slot";
26 }
27 };
28 }
29 } // end namespace boost
30
31 #endif // BOOST_SIGNALS2_EXPIRED_SLOT_HPP