diff options
Diffstat (limited to 'boost/thread/thread_guard.hpp')
-rw-r--r-- | boost/thread/thread_guard.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/boost/thread/thread_guard.hpp b/boost/thread/thread_guard.hpp index 85157f101e..64eb453c73 100644 --- a/boost/thread/thread_guard.hpp +++ b/boost/thread/thread_guard.hpp @@ -21,14 +21,14 @@ namespace boost /** * Non-copyable RAII scoped thread guard joiner which join the thread if joinable when destroyed. */ - template <class CallableThread = join_if_joinable> + template <class CallableThread = join_if_joinable, class Thread=::boost::thread> class thread_guard { - thread& t_; + Thread& t_; public: BOOST_THREAD_NO_COPYABLE( thread_guard) - explicit thread_guard(thread& t) : + explicit thread_guard(Thread& t) : t_(t) { } |