Merge branch 'flat_combinig_add_stress_and_unint_tests' of https://github.com/mgalimu...
[libcds.git] / test / unit / queue / segmented_queue_dhp.cpp
index 5385e83332fb902c79cddd3c0691e826586c5cfa..8280f58de4306bca012443b1b35cc681a668b684 100644 (file)
@@ -46,14 +46,14 @@ namespace {
         {
             typedef cc::SegmentedQueue< gc_type, int > queue_type;
 
-            cds::gc::dhp::GarbageCollector::Construct( 16, queue_type::c_nHazardPtrCount );
+            cds::gc::dhp::smr::construct( queue_type::c_nHazardPtrCount );
             cds::threading::Manager::attachThread();
         }
 
         void TearDown()
         {
             cds::threading::Manager::detachThread();
-            cds::gc::dhp::GarbageCollector::Destruct();
+            cds::gc::dhp::smr::destruct();
         }
     };