| 48 | |
| 49 | #if ! defined BOOST_THREAD_NO_CXX11_HDR_INITIALIZER_LIST |
| 50 | lock_guard(std::initializer_list<thread_detail::lockable_wrapper<Mutex> > l_) : |
| 51 | m(*(const_cast<thread_detail::lockable_wrapper<Mutex>*>(l_.begin())->m)) |
| 52 | { |
| 53 | m.lock(); |
| 54 | } |
| 55 | |
| 56 | lock_guard(std::initializer_list<thread_detail::lockable_adopt_wrapper<Mutex> > l_) : |
| 57 | m(*(const_cast<thread_detail::lockable_adopt_wrapper<Mutex>*>(l_.begin())->m)) |
nothing calls this directly
no test coverage detected