EllenBinTree refactoring
[libcds.git] / cds / container / impl / ellen_bintree_set.h
index 366ab1f03ddc429f0785707bb08e2d04bd5485d0..13f75fb56c6e287288108d3c19899c235d8c3eaf 100644 (file)
@@ -3,7 +3,7 @@
 #ifndef __CDS_CONTAINER_IMPL_ELLEN_BINTREE_SET_H
 #define __CDS_CONTAINER_IMPL_ELLEN_BINTREE_SET_H
 
-#include <traits>
+#include <type_traits>
 #include <cds/container/details/ellen_bintree_base.h>
 #include <cds/intrusive/impl/ellen_bintree.h>
 #include <cds/container/details/guarded_ptr_cast.h>
@@ -123,7 +123,7 @@ namespace cds { namespace container {
 #   ifdef CDS_DOXYGEN_INVOKED
         typedef implementation_defined key_comparator  ;    ///< key compare functor based on opt::compare and opt::less option setter.
 #   else
-        typedef typename maker::intrusive_type_traits::compare   key_comparator;
+        typedef typename maker::intrusive_traits::compare   key_comparator;
 #   endif
         typedef typename base_class::item_counter           item_counter;  ///< Item counting policy used
         typedef typename base_class::memory_model           memory_model;  ///< Memory ordering. See cds::opt::memory_model option