Fixed minor gcc warnings
[libcds.git] / test / unit / map / test_map_nogc.h
index cc8abb93135dbc1f8eceb042bd618b367afbfafa..9f5df9b07bdaad78835d2ba60ab6c8c36eef3fd7 100644 (file)
@@ -5,7 +5,7 @@
 
     Source code repo: http://github.com/khizmax/libcds/
     Download: http://sourceforge.net/projects/libcds/files/
-    
+
     Redistribution and use in source and binary forms, with or without
     modification, are permitted provided that the following conditions are met:
 
@@ -25,7 +25,7 @@
     SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
     CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
     OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-    OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.     
+    OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
 
 #ifndef CDSUNIT_MAP_TEST_MAP_NOGC_H
@@ -124,7 +124,7 @@ namespace cds_test {
                         v.second.strVal = std::to_string( v.first.nKey );
                     } );
                     ASSERT_FALSE( it == m.end() );
-                    ASSERT_TRUE( m.insert_with( i, []( map_pair& ) {
+                    ASSERT_TRUE( m.insert_with( i, []( map_pair& ) {
                         EXPECT_TRUE( false );
                     } ) == m.end());
                     break;
@@ -134,7 +134,7 @@ namespace cds_test {
                         v.second.strVal = std::to_string( v.first.nKey );
                     } );
                     ASSERT_FALSE( it == m.end() );
-                    ASSERT_TRUE( m.insert_with( i.nKey, []( map_pair& ) {
+                    ASSERT_TRUE( m.insert_with( i.nKey, []( map_pair& ) {
                         EXPECT_TRUE( false );
                     } ) == m.end());
                     break;
@@ -144,7 +144,7 @@ namespace cds_test {
                         v.second.strVal = std::to_string( v.first.nKey );
                     } );
                     ASSERT_FALSE( it == m.end() );
-                    ASSERT_TRUE( m.insert_with( val.strVal, []( map_pair& ) {
+                    ASSERT_TRUE( m.insert_with( val.strVal, []( map_pair& ) {
                         EXPECT_TRUE( false );
                     } ) == m.end());
                     break;