Fixed EllenBinTree<RCU>
authorkhizmax <libcds.dev@gmail.com>
Tue, 25 Nov 2014 21:26:16 +0000 (00:26 +0300)
committerkhizmax <libcds.dev@gmail.com>
Tue, 25 Nov 2014 21:26:16 +0000 (00:26 +0300)
cds/intrusive/ellen_bintree_rcu.h

index c0cc2ff37faf6ca7e0d136ec162546ab1b4ef54c..56553ae80aee55767001967244e8b83129bdc8b2 100644 (file)
@@ -1644,7 +1644,6 @@ namespace cds { namespace intrusive {
         template <typename Q, typename Less>
         value_type * extract_with_( Q const& val, Less /*pred*/ )
         {
         template <typename Q, typename Less>
         value_type * extract_with_( Q const& val, Less /*pred*/ )
         {
-            CDS_UNUSED( pred );
             typedef ellen_bintree::details::compare<
                 key_type,
                 value_type,
             typedef ellen_bintree::details::compare<
                 key_type,
                 value_type,
@@ -1851,7 +1850,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,