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 37ec5bf..22f375b 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*/ )
         {
         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,
             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
         {
         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,
             typedef ellen_bintree::details::compare<
                 key_type,
                 value_type,