From: khizmax Date: Wed, 18 Jan 2017 11:42:06 +0000 (+0300) Subject: Fixed minor compiler warnings X-Git-Tag: v2.3.0~193 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=3a4dda529c42be12ff3ffe446a91b6ec263eb1ed;p=libcds.git Fixed minor compiler warnings --- diff --git a/cds/intrusive/cuckoo_set.h b/cds/intrusive/cuckoo_set.h index dffba6e7..ea026a0f 100644 --- a/cds/intrusive/cuckoo_set.h +++ b/cds/intrusive/cuckoo_set.h @@ -2736,7 +2736,7 @@ namespace cds { namespace intrusive { /// Clears the set /** The function unlinks all items from the set. - For any item @ref disposer is called + For any item \p Traits::disposer is called */ void clear() { @@ -2753,7 +2753,7 @@ namespace cds { namespace intrusive { }; \endcode - The @ref disposer specified in \p Traits is not called. + The \p Traits::disposer is not called. */ template void clear_and_dispose( Disposer oDisposer ) diff --git a/test/unit/queue/fcqueue.cpp b/test/unit/queue/fcqueue.cpp index bbf9c95c..383af524 100644 --- a/test/unit/queue/fcqueue.cpp +++ b/test/unit/queue/fcqueue.cpp @@ -56,7 +56,7 @@ namespace { ASSERT_EQ( q.size(), static_cast(i + 1)); } ASSERT_FALSE( q.empty()); - ASSERT_EQ( q.size(), nSize ); + ASSERT_EQ( q.size(), static_cast( nSize )); for ( int i = 0; i < nSize; ++i ) { it = value_type( -1 );