Wrapped gtest/gtest.h into cds_test/ext_gtest.h to suppress GCC 7 warning
[libcds.git] / test / unit / stack / intrusive_treiber_stack_dhp.cpp
index 6d69468377c4a7a4e7f4a27e1a3190091ff7ed7c..8c59a56d9783f2470ba3aa5b63ef2edb35402434 100644 (file)
@@ -56,14 +56,14 @@ namespace {
                 >::type
             > stack_type;
 
-            cds::gc::dhp::GarbageCollector::Construct( 16, stack_type::c_nHazardPtrCount );
+            cds::gc::dhp::smr::construct( stack_type::c_nHazardPtrCount );
             cds::threading::Manager::attachThread();
         }
 
         void TearDown()
         {
             cds::threading::Manager::detachThread();
-            cds::gc::dhp::GarbageCollector::Destruct();
+            cds::gc::dhp::smr::destruct();
         }
 
         template <typename Stack>