diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2017-09-13 11:08:07 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2017-09-13 11:09:00 +0900 |
commit | b5c87084afaef42b2d058f68091be31988a6a874 (patch) | |
tree | adef9a65870a41181687e11d57fdf98e7629de3c /boost/thread/thread_guard.hpp | |
parent | 34bd32e225e2a8a94104489b31c42e5801cc1f4a (diff) | |
download | boost-b5c87084afaef42b2d058f68091be31988a6a874.tar.gz boost-b5c87084afaef42b2d058f68091be31988a6a874.tar.bz2 boost-b5c87084afaef42b2d058f68091be31988a6a874.zip |
Imported Upstream version 1.64.0upstream/1.64.0
Change-Id: Id9212edd016dd55f21172c427aa7894d1d24148b
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
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) { } |