Skip to content

Commit 9bcb218

Browse files
committed
formatting
1 parent c127b17 commit 9bcb218

25 files changed

+54
-54
lines changed

cds/algo/bit_reversal.h

+28-28
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ namespace cds { namespace algo {
5454
/// 64bit
5555
uint64_t operator()( uint64_t x ) const
5656
{
57-
return ( static_cast<uint64_t>( operator()( static_cast<uint32_t>( x )) ) << 32 ) // low 32bit
58-
| ( static_cast<uint64_t>( operator()( static_cast<uint32_t>( x >> 32 )) )); // high 32bit
57+
return ( static_cast<uint64_t>( operator()( static_cast<uint32_t>( x ))) << 32 ) // low 32bit
58+
| ( static_cast<uint64_t>( operator()( static_cast<uint32_t>( x >> 32 )))); // high 32bit
5959
}
6060
};
6161

@@ -93,8 +93,8 @@ namespace cds { namespace algo {
9393
/// 64bit
9494
uint64_t operator()( uint64_t x ) const
9595
{
96-
return ( static_cast<uint64_t>( operator()( static_cast<uint32_t>( x )) ) << 32 ) |
97-
static_cast<uint64_t>( operator()( static_cast<uint32_t>( x >> 32 )) );
96+
return ( static_cast<uint64_t>( operator()( static_cast<uint32_t>( x ))) << 32 ) |
97+
static_cast<uint64_t>( operator()( static_cast<uint32_t>( x >> 32 )));
9898
}
9999
};
100100

@@ -117,43 +117,43 @@ namespace cds { namespace algo {
117117
// for 32bit architecture
118118
static uint32_t muldiv32( uint32_t x )
119119
{
120-
return static_cast<uint32_t>( muldiv32_byte( static_cast<uint8_t>( x >> 24 )) )
121-
| ( static_cast<uint32_t>( muldiv32_byte( static_cast<uint8_t>( x >> 16 )) ) << 8 )
122-
| ( static_cast<uint32_t>( muldiv32_byte( static_cast<uint8_t>( x >> 8 )) ) << 16 )
123-
| ( static_cast<uint32_t>( muldiv32_byte( static_cast<uint8_t>( x )) ) << 24 );
120+
return static_cast<uint32_t>( muldiv32_byte( static_cast<uint8_t>( x >> 24 )))
121+
| ( static_cast<uint32_t>( muldiv32_byte( static_cast<uint8_t>( x >> 16 ))) << 8 )
122+
| ( static_cast<uint32_t>( muldiv32_byte( static_cast<uint8_t>( x >> 8 ))) << 16 )
123+
| ( static_cast<uint32_t>( muldiv32_byte( static_cast<uint8_t>( x ))) << 24 );
124124
}
125125

126126
static uint64_t muldiv32( uint64_t x )
127127
{
128-
return static_cast<uint64_t>( muldiv32_byte( static_cast<uint8_t>( x >> 56 )) )
129-
| ( static_cast<uint64_t>( muldiv32_byte( static_cast<uint8_t>( x >> 48 )) ) << 8 )
130-
| ( static_cast<uint64_t>( muldiv32_byte( static_cast<uint8_t>( x >> 40 )) ) << 16 )
131-
| ( static_cast<uint64_t>( muldiv32_byte( static_cast<uint8_t>( x >> 32 )) ) << 24 )
132-
| ( static_cast<uint64_t>( muldiv32_byte( static_cast<uint8_t>( x >> 24 )) ) << 32 )
133-
| ( static_cast<uint64_t>( muldiv32_byte( static_cast<uint8_t>( x >> 16 )) ) << 40 )
134-
| ( static_cast<uint64_t>( muldiv32_byte( static_cast<uint8_t>( x >> 8 )) ) << 48 )
135-
| ( static_cast<uint64_t>( muldiv32_byte( static_cast<uint8_t>( x )) ) << 56 );
128+
return static_cast<uint64_t>( muldiv32_byte( static_cast<uint8_t>( x >> 56 )))
129+
| ( static_cast<uint64_t>( muldiv32_byte( static_cast<uint8_t>( x >> 48 ))) << 8 )
130+
| ( static_cast<uint64_t>( muldiv32_byte( static_cast<uint8_t>( x >> 40 ))) << 16 )
131+
| ( static_cast<uint64_t>( muldiv32_byte( static_cast<uint8_t>( x >> 32 ))) << 24 )
132+
| ( static_cast<uint64_t>( muldiv32_byte( static_cast<uint8_t>( x >> 24 ))) << 32 )
133+
| ( static_cast<uint64_t>( muldiv32_byte( static_cast<uint8_t>( x >> 16 ))) << 40 )
134+
| ( static_cast<uint64_t>( muldiv32_byte( static_cast<uint8_t>( x >> 8 ))) << 48 )
135+
| ( static_cast<uint64_t>( muldiv32_byte( static_cast<uint8_t>( x ))) << 56 );
136136
}
137137

138138
/// for 64bit architectire
139139
static uint32_t muldiv64( uint32_t x )
140140
{
141-
return static_cast<uint32_t>( muldiv64_byte( static_cast<uint8_t>( x >> 24 )) )
142-
| ( static_cast<uint32_t>( muldiv64_byte( static_cast<uint8_t>( x >> 16 )) ) << 8 )
143-
| ( static_cast<uint32_t>( muldiv64_byte( static_cast<uint8_t>( x >> 8 )) ) << 16 )
144-
| ( static_cast<uint32_t>( muldiv64_byte( static_cast<uint8_t>( x )) ) << 24 );
141+
return static_cast<uint32_t>( muldiv64_byte( static_cast<uint8_t>( x >> 24 )))
142+
| ( static_cast<uint32_t>( muldiv64_byte( static_cast<uint8_t>( x >> 16 ))) << 8 )
143+
| ( static_cast<uint32_t>( muldiv64_byte( static_cast<uint8_t>( x >> 8 ))) << 16 )
144+
| ( static_cast<uint32_t>( muldiv64_byte( static_cast<uint8_t>( x ))) << 24 );
145145
}
146146

147147
static uint64_t muldiv64( uint64_t x )
148148
{
149-
return static_cast<uint64_t>( muldiv64_byte( static_cast<uint8_t>( x >> 56 )) )
150-
| ( static_cast<uint64_t>( muldiv64_byte( static_cast<uint8_t>( x >> 48 )) ) << 8 )
151-
| ( static_cast<uint64_t>( muldiv64_byte( static_cast<uint8_t>( x >> 40 )) ) << 16 )
152-
| ( static_cast<uint64_t>( muldiv64_byte( static_cast<uint8_t>( x >> 32 )) ) << 24 )
153-
| ( static_cast<uint64_t>( muldiv64_byte( static_cast<uint8_t>( x >> 24 )) ) << 32 )
154-
| ( static_cast<uint64_t>( muldiv64_byte( static_cast<uint8_t>( x >> 16 )) ) << 40 )
155-
| ( static_cast<uint64_t>( muldiv64_byte( static_cast<uint8_t>( x >> 8 )) ) << 48 )
156-
| ( static_cast<uint64_t>( muldiv64_byte( static_cast<uint8_t>( x )) ) << 56 );
149+
return static_cast<uint64_t>( muldiv64_byte( static_cast<uint8_t>( x >> 56 )))
150+
| ( static_cast<uint64_t>( muldiv64_byte( static_cast<uint8_t>( x >> 48 ))) << 8 )
151+
| ( static_cast<uint64_t>( muldiv64_byte( static_cast<uint8_t>( x >> 40 ))) << 16 )
152+
| ( static_cast<uint64_t>( muldiv64_byte( static_cast<uint8_t>( x >> 32 ))) << 24 )
153+
| ( static_cast<uint64_t>( muldiv64_byte( static_cast<uint8_t>( x >> 24 ))) << 32 )
154+
| ( static_cast<uint64_t>( muldiv64_byte( static_cast<uint8_t>( x >> 16 ))) << 40 )
155+
| ( static_cast<uint64_t>( muldiv64_byte( static_cast<uint8_t>( x >> 8 ))) << 48 )
156+
| ( static_cast<uint64_t>( muldiv64_byte( static_cast<uint8_t>( x ))) << 56 );
157157
}
158158
//@endcond
159159

cds/container/impl/bronson_avltree_map_rcu.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -1785,7 +1785,7 @@ namespace cds { namespace container {
17851785

17861786
int hLRL = height_null( child( pLRight, left_child, memory_model::memory_order_relaxed ), memory_model::memory_order_acquire );
17871787
int balance = hLL - hLRL;
1788-
if ( balance >= -1 && balance <= 1 && !( ( hLL == 0 || hLRL == 0 ) && !pLeft->is_valued( memory_model::memory_order_relaxed )) ) {
1788+
if ( balance >= -1 && balance <= 1 && !( ( hLL == 0 || hLRL == 0 ) && !pLeft->is_valued( memory_model::memory_order_relaxed ))) {
17891789
// nParent.child.left won't be damaged after a double rotation
17901790
return rotate_right_over_left_locked( pParent, pNode, pLeft, hR, hLL, pLRight, hLRL );
17911791
}
@@ -1840,7 +1840,7 @@ namespace cds { namespace container {
18401840
node_type * pRLRight = child( pRLeft, right_child, memory_model::memory_order_relaxed );
18411841
int hRLR = height_null( pRLRight, memory_model::memory_order_acquire );
18421842
int balance = hRR - hRLR;
1843-
if ( balance >= -1 && balance <= 1 && !( ( hRR == 0 || hRLR == 0 ) && !pRight->is_valued( memory_model::memory_order_relaxed )) )
1843+
if ( balance >= -1 && balance <= 1 && !( ( hRR == 0 || hRLR == 0 ) && !pRight->is_valued( memory_model::memory_order_relaxed )))
18441844
return rotate_left_over_right_locked( pParent, pNode, hL, pRight, pRLeft, hRR, hRLR );
18451845
}
18461846

cds/gc/dhp.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,7 @@ namespace cds { namespace gc {
687687
688688
@note Internally, %DHP depends on free-list implementation. There are
689689
DCAS-based free-list \p cds::intrusive::TaggedFreeList and more complicated CAS-based free-list
690-
\p cds::intrusive::FreeList. For x86 architecture and GCC/clang, libcds selects appropriate free-list
690+
\p cds::intrusive::FreeList. For x86 architecture and GCC/clang, libcds selects appropriate free-list
691691
based on \p -mcx16 compiler flag. You may manually disable DCAS support specifying
692692
\p -DCDS_DISABLE_128BIT_ATOMIC for 64bit build or \p -DCDS_DISABLE_64BIT_ATOMIC for 32bit build
693693
in compiler command line. All your projects and libcds MUST be compiled with the same flags -
@@ -1393,7 +1393,7 @@ namespace cds { namespace gc {
13931393
static void retire( T * p, void (* func)(void *))
13941394
{
13951395
dhp::thread_data* rec = dhp::smr::tls();
1396-
if ( !rec->retired_.push( dhp::retired_ptr( p, func )) )
1396+
if ( !rec->retired_.push( dhp::retired_ptr( p, func )))
13971397
dhp::smr::instance().scan( rec );
13981398
}
13991399

src/dhp.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ namespace cds { namespace gc { namespace dhp {
118118

119119
CDS_EXPORT_API retired_allocator::~retired_allocator()
120120
{
121-
while ( retired_block* rb = static_cast<retired_block*>( free_list_.get()) ) {
121+
while ( retired_block* rb = static_cast<retired_block*>( free_list_.get())) {
122122
rb->~retired_block();
123123
s_free_memory( rb );
124124
}

test/stress/map/del3/map_del3.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,6 @@ namespace map {
125125
}
126126
INSTANTIATE_TEST_CASE_P( a, Map_Del3_LF, ::testing::ValuesIn( Map_Del3_LF::get_load_factors()), get_test_parameter_name );
127127
#else
128-
INSTANTIATE_TEST_CASE_P( a, Map_Del3_LF, ::testing::ValuesIn( Map_Del3_LF::get_load_factors()) );
128+
INSTANTIATE_TEST_CASE_P( a, Map_Del3_LF, ::testing::ValuesIn( Map_Del3_LF::get_load_factors()));
129129
#endif
130130
} // namespace map

test/stress/map/delodd/map_delodd.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ namespace map {
125125
}
126126
INSTANTIATE_TEST_CASE_P( a, Map_DelOdd_LF, ::testing::ValuesIn( Map_DelOdd_LF::get_load_factors()), get_test_parameter_name );
127127
#else
128-
INSTANTIATE_TEST_CASE_P( a, Map_DelOdd_LF, ::testing::ValuesIn( Map_DelOdd_LF::get_load_factors()) );
128+
INSTANTIATE_TEST_CASE_P( a, Map_DelOdd_LF, ::testing::ValuesIn( Map_DelOdd_LF::get_load_factors()));
129129
#endif
130130

131131
} // namespace map

test/stress/map/find_string/map_find_string.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ namespace map {
202202
}
203203
INSTANTIATE_TEST_CASE_P( a, Map_find_string_LF, ::testing::ValuesIn( Map_find_string::get_load_factors()), get_test_parameter_name );
204204
#else
205-
INSTANTIATE_TEST_CASE_P( a, Map_find_string_LF, ::testing::ValuesIn( Map_find_string::get_load_factors()) );
205+
INSTANTIATE_TEST_CASE_P( a, Map_find_string_LF, ::testing::ValuesIn( Map_find_string::get_load_factors()));
206206
#endif
207207

208208

test/stress/map/insdel_func/map_insdel_func.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ namespace map {
129129
}
130130
INSTANTIATE_TEST_CASE_P( a, Map_InsDel_func_LF, ::testing::ValuesIn( Map_InsDel_func_LF::get_load_factors()), get_test_parameter_name );
131131
#else
132-
INSTANTIATE_TEST_CASE_P( a, Map_InsDel_func_LF, ::testing::ValuesIn( Map_InsDel_func_LF::get_load_factors()) );
132+
INSTANTIATE_TEST_CASE_P( a, Map_InsDel_func_LF, ::testing::ValuesIn( Map_InsDel_func_LF::get_load_factors()));
133133
#endif
134134

135135
} // namespace map

test/stress/map/insdel_item_int/map_insdel_item_int.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ namespace map {
114114
}
115115
INSTANTIATE_TEST_CASE_P( a, Map_InsDel_item_int_LF, ::testing::ValuesIn( Map_InsDel_item_int_LF::get_load_factors()), get_test_parameter_name );
116116
#else
117-
INSTANTIATE_TEST_CASE_P( a, Map_InsDel_item_int_LF, ::testing::ValuesIn( Map_InsDel_item_int_LF::get_load_factors()) );
117+
INSTANTIATE_TEST_CASE_P( a, Map_InsDel_item_int_LF, ::testing::ValuesIn( Map_InsDel_item_int_LF::get_load_factors()));
118118
#endif
119119

120120
} // namespace map

test/stress/map/insdel_string/map_insdel_string.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ namespace map {
185185
}
186186
INSTANTIATE_TEST_CASE_P( a, Map_InsDel_string_LF, ::testing::ValuesIn( Map_InsDel_string::get_load_factors()), get_test_parameter_name );
187187
#else
188-
INSTANTIATE_TEST_CASE_P( a, Map_InsDel_string_LF, ::testing::ValuesIn( Map_InsDel_string::get_load_factors()) );
188+
INSTANTIATE_TEST_CASE_P( a, Map_InsDel_string_LF, ::testing::ValuesIn( Map_InsDel_string::get_load_factors()));
189189
#endif
190190

191191
} // namespace map

test/stress/map/insdelfind/map_insdelfind.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ namespace map {
137137
}
138138
INSTANTIATE_TEST_CASE_P( a, Map_InsDelFind_LF, ::testing::ValuesIn( Map_InsDelFind_LF::get_load_factors()), get_test_parameter_name );
139139
#else
140-
INSTANTIATE_TEST_CASE_P( a, Map_InsDelFind_LF, ::testing::ValuesIn( Map_InsDelFind_LF::get_load_factors()) );
140+
INSTANTIATE_TEST_CASE_P( a, Map_InsDelFind_LF, ::testing::ValuesIn( Map_InsDelFind_LF::get_load_factors()));
141141
#endif
142142

143143
} // namespace map

test/stress/map/iter_erase/map_iter_erase.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ namespace map {
111111
}
112112
INSTANTIATE_TEST_CASE_P( a, Map_Iter_Del3_LF, ::testing::ValuesIn( Map_Iter_Del3_LF::get_load_factors()), get_test_parameter_name );
113113
#else
114-
INSTANTIATE_TEST_CASE_P( a, Map_Iter_Del3_LF, ::testing::ValuesIn( Map_Iter_Del3_LF::get_load_factors()) );
114+
INSTANTIATE_TEST_CASE_P( a, Map_Iter_Del3_LF, ::testing::ValuesIn( Map_Iter_Del3_LF::get_load_factors()));
115115
#endif
116116

117117
} // namespace map

test/stress/queue/intrusive_push_pop.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ namespace {
522522
#else
523523
INSTANTIATE_TEST_CASE_P( SQ,
524524
intrusive_segmented_queue_push_pop,
525-
::testing::ValuesIn( intrusive_segmented_queue_push_pop::get_test_parameters()) );
525+
::testing::ValuesIn( intrusive_segmented_queue_push_pop::get_test_parameters()));
526526
#endif
527527

528528

test/stress/queue/pop.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ namespace {
252252
#else
253253
INSTANTIATE_TEST_CASE_P( SQ,
254254
segmented_queue_pop,
255-
::testing::ValuesIn( segmented_queue_pop::get_test_parameters()) );
255+
::testing::ValuesIn( segmented_queue_pop::get_test_parameters()));
256256
#endif
257257

258258

test/stress/queue/push.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ namespace {
255255
#else
256256
INSTANTIATE_TEST_CASE_P( SQ,
257257
segmented_queue_push,
258-
::testing::ValuesIn( segmented_queue_push::get_test_parameters()) );
258+
::testing::ValuesIn( segmented_queue_push::get_test_parameters()));
259259
#endif
260260

261261

test/stress/queue/push_pop.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ namespace {
434434
#else
435435
INSTANTIATE_TEST_CASE_P( SQ,
436436
segmented_queue_push_pop,
437-
::testing::ValuesIn( segmented_queue_push_pop::get_test_parameters()) );
437+
::testing::ValuesIn( segmented_queue_push_pop::get_test_parameters()));
438438
#endif
439439

440440
} // namespace

test/stress/set/del3/set_del3.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ namespace set {
127127
}
128128
INSTANTIATE_TEST_CASE_P( a, Set_Del3_LF, ::testing::ValuesIn( Set_Del3_LF::get_load_factors()), get_test_parameter_name );
129129
#else
130-
INSTANTIATE_TEST_CASE_P( a, Set_Del3_LF, ::testing::ValuesIn( Set_Del3_LF::get_load_factors()) );
130+
INSTANTIATE_TEST_CASE_P( a, Set_Del3_LF, ::testing::ValuesIn( Set_Del3_LF::get_load_factors()));
131131
#endif
132132

133133
} // namespace set

test/stress/set/delodd/set_delodd.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,6 @@ namespace set {
126126
}
127127
INSTANTIATE_TEST_CASE_P( a, Set_DelOdd_LF, ::testing::ValuesIn( Set_DelOdd_LF::get_load_factors()), get_test_parameter_name );
128128
#else
129-
INSTANTIATE_TEST_CASE_P( a, Set_DelOdd_LF, ::testing::ValuesIn( Set_DelOdd_LF::get_load_factors()) );
129+
INSTANTIATE_TEST_CASE_P( a, Set_DelOdd_LF, ::testing::ValuesIn( Set_DelOdd_LF::get_load_factors()));
130130
#endif
131131
} // namespace set

test/stress/set/insdel_find/set_insdelfind.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ namespace set {
130130
}
131131
INSTANTIATE_TEST_CASE_P( a, Set_InsDelFind_LF, ::testing::ValuesIn( Set_InsDelFind_LF::get_load_factors()), get_test_parameter_name );
132132
#else
133-
INSTANTIATE_TEST_CASE_P( a, Set_InsDelFind_LF, ::testing::ValuesIn( Set_InsDelFind_LF::get_load_factors()) );
133+
INSTANTIATE_TEST_CASE_P( a, Set_InsDelFind_LF, ::testing::ValuesIn( Set_InsDelFind_LF::get_load_factors()));
134134
#endif
135135

136136
} // namespace set

test/stress/set/insdel_func/set_insdel_func.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,6 @@ namespace set {
117117
}
118118
INSTANTIATE_TEST_CASE_P( a, Set_InsDel_func_LF, ::testing::ValuesIn( Set_InsDel_func_LF::get_load_factors()), get_test_parameter_name );
119119
#else
120-
INSTANTIATE_TEST_CASE_P( a, Set_InsDel_func_LF, ::testing::ValuesIn( Set_InsDel_func_LF::get_load_factors()) );
120+
INSTANTIATE_TEST_CASE_P( a, Set_InsDel_func_LF, ::testing::ValuesIn( Set_InsDel_func_LF::get_load_factors()));
121121
#endif
122122
} // namespace set

test/stress/set/insdel_string/set_insdel_string.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ namespace set {
121121
}
122122
INSTANTIATE_TEST_CASE_P( a, Set_InsDel_string_LF, ::testing::ValuesIn( Set_InsDel_string_LF::get_load_factors()), get_test_parameter_name );
123123
#else
124-
INSTANTIATE_TEST_CASE_P( a, Set_InsDel_string_LF, ::testing::ValuesIn( Set_InsDel_string_LF::get_load_factors()) );
124+
INSTANTIATE_TEST_CASE_P( a, Set_InsDel_string_LF, ::testing::ValuesIn( Set_InsDel_string_LF::get_load_factors()));
125125
#endif
126126

127127

test/stress/set/iter_erase/set_iter_erase.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,6 @@ namespace set {
111111
}
112112
INSTANTIATE_TEST_CASE_P( a, Set_Iter_Del3_LF, ::testing::ValuesIn( Set_Iter_Del3_LF::get_load_factors()), get_test_parameter_name );
113113
#else
114-
INSTANTIATE_TEST_CASE_P( a, Set_Iter_Del3_LF, ::testing::ValuesIn( Set_Iter_Del3_LF::get_load_factors()) );
114+
INSTANTIATE_TEST_CASE_P( a, Set_Iter_Del3_LF, ::testing::ValuesIn( Set_Iter_Del3_LF::get_load_factors()));
115115
#endif
116116
} // namespace set

test/stress/set/iteration/set_iteration.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,6 @@ namespace set {
121121
}
122122
INSTANTIATE_TEST_CASE_P( a, Set_Iteration_LF, ::testing::ValuesIn( Set_Iteration_LF::get_load_factors()), get_test_parameter_name );
123123
#else
124-
INSTANTIATE_TEST_CASE_P( a, Set_Iteration_LF, ::testing::ValuesIn( Set_Iteration_LF::get_load_factors()) );
124+
INSTANTIATE_TEST_CASE_P( a, Set_Iteration_LF, ::testing::ValuesIn( Set_Iteration_LF::get_load_factors()));
125125
#endif
126126
} // namespace set

test/unit/queue/vyukov_mpmc_queue.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ namespace {
5151
// enqueue/dequeue
5252
for ( unsigned pass = 0; pass < 3; ++pass ) {
5353
for ( size_t i = 0; i < nSize; ++i ) {
54-
ASSERT_TRUE( q.enqueue( static_cast<value_type>( i )) );
54+
ASSERT_TRUE( q.enqueue( static_cast<value_type>( i )));
5555
ASSERT_CONTAINER_SIZE( q, i + 1 );
5656
}
5757
ASSERT_FALSE( q.empty());

test/unit/queue/weak_ringbuffer.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ namespace {
7070
ASSERT_FALSE( q.full());
7171
ASSERT_CONTAINER_SIZE( q, nArrCount * nArrSize );
7272
for ( size_t i = nArrCount * nArrSize; i < nSize; ++i ) {
73-
ASSERT_TRUE( q.enqueue( static_cast<value_type>( i )) );
73+
ASSERT_TRUE( q.enqueue( static_cast<value_type>( i )));
7474
}
7575
}
7676
ASSERT_TRUE( q.full());

0 commit comments

Comments
 (0)