intrusive::MichaelSet refactoring
[libcds.git] / tests / test-hdr / set / hdr_intrusive_michael_set_hp_lazy.cpp
index e409ce89aed357e25534263d1ad2d1f50e1938dc..009c1b69415bb318a7148391ffd8e69a0164f64b 100644 (file)
@@ -9,15 +9,15 @@ namespace set {
     void IntrusiveHashSetHdrTest::HP_base_cmp_lazy()
     {
         typedef base_int_item< ci::lazy_list::node<cds::gc::HP> > item;
-        typedef ci::LazyList< cds::gc::HP
-            ,item
-            ,ci::lazy_list::make_traits<
+        struct list_traits :
+            public ci::lazy_list::make_traits<
                 ci::opt::hook< ci::lazy_list::base_hook< co::gc<cds::gc::HP> > >
                 ,co::compare< cmp<item> >
                 ,ci::opt::disposer< faked_disposer >
                 ,ci::opt::back_off< cds::backoff::pause >
             >::type
-        >    bucket_type;
+        {};
+        typedef ci::LazyList< cds::gc::HP, item, list_traits > bucket_type;
 
         typedef ci::MichaelHashSet< cds::gc::HP, bucket_type,
             ci::michael_set::make_traits<