EllenBinTree bugfix
authorkhizmax <libcds.dev@gmail.com>
Tue, 25 Nov 2014 21:28:26 +0000 (00:28 +0300)
committerkhizmax <libcds.dev@gmail.com>
Tue, 25 Nov 2014 21:28:26 +0000 (00:28 +0300)
cds/intrusive/impl/ellen_bintree.h

index 37ec5bf57658898d5809cb0ad4e7d1b03e303806..22f375b0c66ff06157da9a58a2a38531bb56886b 100644 (file)
@@ -1339,7 +1339,6 @@ namespace cds { namespace intrusive {
         template <typename Q, typename Less>
         bool extract_with_( typename guarded_ptr::native_guard& guard, Q const& key, Less /*pred*/ )
         {
-            CDS_UNUSED( pred );
             typedef ellen_bintree::details::compare<
                 key_type,
                 value_type,
@@ -1471,7 +1470,6 @@ namespace cds { namespace intrusive {
         template <typename Q, typename Less, typename Func>
         bool find_with_( Q& val, Less /*pred*/, Func f ) const
         {
-            CDS_UNUSED( pred );
             typedef ellen_bintree::details::compare<
                 key_type,
                 value_type,