Fixed minor compiler warnings
authorkhizmax <khizmax@gmail.com>
Wed, 18 Jan 2017 11:42:06 +0000 (14:42 +0300)
committerkhizmax <khizmax@gmail.com>
Wed, 18 Jan 2017 11:42:06 +0000 (14:42 +0300)
cds/intrusive/cuckoo_set.h
test/unit/queue/fcqueue.cpp

index dffba6e7ec126b03cb1726f36c5bcb606474297a..ea026a0f584574d25f4c6b0d8209282c93247e6b 100644 (file)
@@ -2736,7 +2736,7 @@ namespace cds { namespace intrusive {
         /// Clears the set
         /**
             The function unlinks all items from the set.
-            For any item <tt> @ref disposer </tt> is called
+            For any item \p Traits::disposer is called
         */
         void clear()
         {
@@ -2753,7 +2753,7 @@ namespace cds { namespace intrusive {
             };
             \endcode
 
-            The <tt> @ref disposer </tt> specified in \p Traits is not called.
+            The \p Traits::disposer is not called.
         */
         template <typename Disposer>
         void clear_and_dispose( Disposer oDisposer )
index bbf9c95c122b8f37cef7949ef7a5641c319f57af..383af524726c11a304c0f3afa005eac72e6326a7 100644 (file)
@@ -56,7 +56,7 @@ namespace {
                 ASSERT_EQ( q.size(), static_cast<size_t>(i + 1));
             }
             ASSERT_FALSE( q.empty());
-            ASSERT_EQ( q.size(), nSize );
+            ASSERT_EQ( q.size(), static_cast<size_t>( nSize ));
 
             for ( int i = 0; i < nSize; ++i ) {
                 it = value_type( -1 );