Only tests with max load factor for parallel maps
[libcds.git] / cds / intrusive / lazy_list_nogc.h
index e5a86f201c5d5965c1d92c3b899bbb1df561e101..2c9761f54fb209b02a807badb233f6366b0fef74 100644 (file)
@@ -1,7 +1,7 @@
 /*
     This file is a part of libcds - Concurrent Data Structures library
 
-    (C) Copyright Maxim Khizhinsky (libcds.dev@gmail.com) 2006-2016
+    (C) Copyright Maxim Khizhinsky (libcds.dev@gmail.com) 2006-2017
 
     Source code repo: http://github.com/khizmax/libcds/
     Download: http://sourceforge.net/projects/libcds/files/
@@ -480,10 +480,10 @@ namespace cds { namespace intrusive {
             \p Equal functor has the interface like \p std::equal_to.
         */
         template <typename Q, typename Equal, typename Func, bool Sort = c_bSort>
-        typename std::enable_if<!Sort, bool>::type find_with( Q& key, Equal equal, Func f )
+        typename std::enable_if<!Sort, bool>::type find_with( Q& key, Equal eq, Func f )
         {
-            CDS_UNUSED( equal );
-            return find_at( &m_Head, key, equal, f );
+            //CDS_UNUSED( eq );
+            return find_at( &m_Head, key, eq, f );
         }
         //@cond
         template <typename Q, typename Less, typename Func, bool Sort = c_bSort>
@@ -494,10 +494,10 @@ namespace cds { namespace intrusive {
         }
 
         template <typename Q, typename Equal, typename Func, bool Sort = c_bSort>
-        typename std::enable_if<!Sort, bool>::type find_with( Q const& key, Equal equal, Func f )
+        typename std::enable_if<!Sort, bool>::type find_with( Q const& key, Equal eq, Func f )
         {
-            CDS_UNUSED( equal );
-            return find_at( &m_Head, key, equal, f );
+            //CDS_UNUSED( eq );
+            return find_at( &m_Head, key, eq, f );
         }
         //@endcond
 
@@ -547,16 +547,16 @@ namespace cds { namespace intrusive {
             \p Equal functor has the interface like \p std::equal_to.
         */
         template <typename Q, typename Equal, bool Sort = c_bSort>
-        typename std::enable_if<!Sort, value_type *>::type contains( Q const& key, Equal equal )
+        typename std::enable_if<!Sort, value_type *>::type contains( Q const& key, Equal eq )
         {
-            return find_at( &m_Head, key, equal );
+            return find_at( &m_Head, key, eq );
         }
         //@cond
         template <typename Q, typename Equal, bool Sort = c_bSort>
         CDS_DEPRECATED("deprecated, use contains()")
-        typename std::enable_if<!Sort, value_type *>::type find_with( Q const& key, Equal equal )
+        typename std::enable_if<!Sort, value_type *>::type find_with( Q const& key, Equal eq )
         {
-            return contains( key, equal );
+            return contains( key, eq );
         }
         //@endcond