X-Git-Url: http://plrg.eecs.uci.edu/git/?p=libcds.git;a=blobdiff_plain;f=cds%2Fcontainer%2Fcuckoo_set.h;h=9229432ec344b3118588f7663a1cf7994f29c4f5;hp=bebbb47d1e8294c86f8a922b29bfeee2945d69de;hb=2402fb1beb25ec532cea91c8dfbb9425eb5bdf48;hpb=264957da64a35ca977799720ab436890d0dbf6f7
diff --git a/cds/container/cuckoo_set.h b/cds/container/cuckoo_set.h
index bebbb47d..9229432e 100644
--- a/cds/container/cuckoo_set.h
+++ b/cds/container/cuckoo_set.h
@@ -474,7 +474,7 @@ namespace cds { namespace container {
CuckooSet(
hash_tuple_type&& h ///< hash functor tuple of type std::tuple where n == \ref c_nArity
)
- : base_class( std::forward(h) )
+ : base_class( std::forward(h))
{}
/// Constructs the set object with given probe set properties and hash functor tuple (move semantics)
@@ -488,7 +488,7 @@ namespace cds { namespace container {
, unsigned int nProbesetThreshold ///< probe set threshold, nProbesetThreshold < nProbesetSize. If 0, nProbesetThreshold = nProbesetSize - 1
, hash_tuple_type&& h ///< hash functor tuple of type std::tuple where n == \ref c_nArity
)
- : base_class( nInitialSize, nProbesetSize, nProbesetThreshold, std::forward(h) )
+ : base_class( nInitialSize, nProbesetSize, nProbesetThreshold, std::forward(h))
{}
/// Destructor clears the set
@@ -638,7 +638,7 @@ namespace cds { namespace container {
bool erase_with( Q const& key, Predicate pred )
{
CDS_UNUSED( pred );
- node_type * pNode = base_class::erase_with( key, typename maker::template predicate_wrapper() );
+ node_type * pNode = base_class::erase_with( key, typename maker::template predicate_wrapper());
if ( pNode ) {
free_node( pNode );
return true;
@@ -685,7 +685,7 @@ namespace cds { namespace container {
bool erase_with( Q const& key, Predicate pred, Func f )
{
CDS_UNUSED( pred );
- node_type * pNode = base_class::erase_with( key, typename maker::template predicate_wrapper() );
+ node_type * pNode = base_class::erase_with( key, typename maker::template predicate_wrapper());
if ( pNode ) {
f( pNode->m_val );
free_node( pNode );
@@ -799,7 +799,7 @@ namespace cds { namespace container {
*/
void clear()
{
- return base_class::clear_and_dispose( node_disposer() );
+ return base_class::clear_and_dispose( node_disposer());
}
/// Checks if the set is empty