X-Git-Url: http://plrg.eecs.uci.edu/git/?p=libcds.git;a=blobdiff_plain;f=cds%2Fthreading%2Fdetails%2Fcxx11_manager.h;h=9bac49412429bbc878b1df3b91789f91b8de68e9;hp=b758e3a3ab6c408175679603a56a6309f872d97d;hb=2402fb1beb25ec532cea91c8dfbb9425eb5bdf48;hpb=264957da64a35ca977799720ab436890d0dbf6f7 diff --git a/cds/threading/details/cxx11_manager.h b/cds/threading/details/cxx11_manager.h index b758e3a3..9bac4941 100644 --- a/cds/threading/details/cxx11_manager.h +++ b/cds/threading/details/cxx11_manager.h @@ -109,9 +109,9 @@ namespace cds { namespace threading { /// This method must be called in end of thread execution static void detachThread() { - assert( _threadData() ); + assert( _threadData()); - if ( _threadData()->fini() ) + if ( _threadData()->fini()) destroy_thread_data(); }