From 3a4dda529c42be12ff3ffe446a91b6ec263eb1ed Mon Sep 17 00:00:00 2001 From: khizmax Date: Wed, 18 Jan 2017 14:42:06 +0300 Subject: [PATCH] Fixed minor compiler warnings --- cds/intrusive/cuckoo_set.h | 4 ++-- test/unit/queue/fcqueue.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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 ); -- 2.34.1