@@ -68,7 +68,7 @@ nonius::benchmark bench_rttr_find_method_level_1()
6868 rttr::method m = rttr::type::get (nullptr ).get_method (" " );
6969 meter.measure ([&]()
7070 {
71- if (m = rttr::type::get (obj_base).get_method (" method_1" ))
71+ if (( m = rttr::type::get (obj_base).get_method (" method_1" ) ))
7272 {
7373 value = 1 ;
7474 }
@@ -110,7 +110,7 @@ nonius::benchmark bench_rttr_find_method_level_3()
110110 rttr::method m = rttr::type::get (nullptr ).get_method (" " );
111111 meter.measure ([&]()
112112 {
113- if (m = rttr::type::get (obj_base).get_method (" method_3" ))
113+ if (( m = rttr::type::get (obj_base).get_method (" method_3" ) ))
114114 {
115115 value = 1 ;
116116 }
@@ -152,7 +152,7 @@ nonius::benchmark bench_rttr_find_method_level_6()
152152 rttr::method m = rttr::type::get (nullptr ).get_method (" " );
153153 meter.measure ([&]()
154154 {
155- if (m = rttr::type::get (obj_base).get_method (" method_6" ))
155+ if (( m = rttr::type::get (obj_base).get_method (" method_6" ) ))
156156 {
157157 value = 1 ;
158158 }
@@ -196,7 +196,7 @@ nonius::benchmark bench_rttr_find_method_neg_level_1()
196196 rttr::method m = rttr::type::get (nullptr ).get_method (" " );
197197 meter.measure ([&]()
198198 {
199- if (m = rttr::type::get (obj_base).get_method (" method_2" ))
199+ if (( m = rttr::type::get (obj_base).get_method (" method_2" ) ))
200200 {
201201 value = 1 ;
202202 }
@@ -238,7 +238,7 @@ nonius::benchmark bench_rttr_find_method_neg_level_3()
238238 rttr::method m = rttr::type::get (nullptr ).get_method (" " );
239239 meter.measure ([&]()
240240 {
241- if (m = rttr::type::get (obj_base).get_method (" method_4" ))
241+ if (( m = rttr::type::get (obj_base).get_method (" method_4" ) ))
242242 {
243243 value = 1 ;
244244 }
@@ -281,7 +281,7 @@ nonius::benchmark bench_rttr_find_method_neg_level_6()
281281 rttr::method m = rttr::type::get (nullptr ).get_method (" " );
282282 meter.measure ([&]()
283283 {
284- if (m = rttr::type::get (obj_base).get_method (" method_7" ))
284+ if (( m = rttr::type::get (obj_base).get_method (" method_7" ) ))
285285 {
286286 value = 1 ;
287287 }
@@ -324,7 +324,7 @@ nonius::benchmark bench_rttr_find_method_cross_cast_level_1()
324324 rttr::method m = rttr::type::get (nullptr ).get_method (" " );
325325 meter.measure ([&]()
326326 {
327- if (m = rttr::type::get (obj_base).get_method (" method_13" )) // method 13 is contained in 'class_multiple_1C'
327+ if (( m = rttr::type::get (obj_base).get_method (" method_13" ) )) // method 13 is contained in 'class_multiple_1C'
328328 {
329329 value = 1 ;
330330 }
@@ -366,7 +366,7 @@ nonius::benchmark bench_rttr_find_method_cross_cast_level_3()
366366 rttr::method m = rttr::type::get (nullptr ).get_method (" " );
367367 meter.measure ([&]()
368368 {
369- if (m = rttr::type::get (obj_base).get_method (" method_15" )) // method 15 is contained in 'class_multiple_3C'
369+ if (( m = rttr::type::get (obj_base).get_method (" method_15" ) )) // method 15 is contained in 'class_multiple_3C'
370370 {
371371 value = 1 ;
372372 }
@@ -408,7 +408,7 @@ nonius::benchmark bench_rttr_find_method_cross_cast_level_6()
408408 rttr::method m = rttr::type::get (nullptr ).get_method (" " );
409409 meter.measure ([&]()
410410 {
411- if (m = rttr::type::get (obj_base).get_method (" method_18" )) // method 18 is contained in 'class_multiple_final'
411+ if (( m = rttr::type::get (obj_base).get_method (" method_18" ) )) // method 18 is contained in 'class_multiple_final'
412412 {
413413 value = 1 ;
414414 }
@@ -452,7 +452,7 @@ nonius::benchmark bench_rttr_find_method_cross_cast_neg_level_1()
452452 rttr::method m = rttr::type::get (nullptr ).get_method (" " );
453453 meter.measure ([&]()
454454 {
455- if (m = rttr::type::get (obj_base).get_method (" method_13" )) // method 13 is contained in 'class_multiple_1C'
455+ if (( m = rttr::type::get (obj_base).get_method (" method_13" ) )) // method 13 is contained in 'class_multiple_1C'
456456 {
457457 value = 1 ;
458458 }
@@ -494,7 +494,7 @@ nonius::benchmark bench_rttr_find_method_cross_cast_neg_level_3()
494494 rttr::method m = rttr::type::get (nullptr ).get_method (" " );
495495 meter.measure ([&]()
496496 {
497- if (m = rttr::type::get (obj_base).get_method (" method_15" )) // method 15 is contained in 'class_multiple_3C'
497+ if (( m = rttr::type::get (obj_base).get_method (" method_15" ) )) // method 15 is contained in 'class_multiple_3C'
498498 {
499499 value = 1 ;
500500 }
@@ -536,7 +536,7 @@ nonius::benchmark bench_rttr_find_method_cross_cast_neg_level_6()
536536 rttr::method m = rttr::type::get (nullptr ).get_method (" " );
537537 meter.measure ([&]()
538538 {
539- if (m = rttr::type::get (obj_base).get_method (" method_19" )) // method 19 is contained in 'class_multiple_final_D'
539+ if (( m = rttr::type::get (obj_base).get_method (" method_19" ) )) // method 19 is contained in 'class_multiple_final_D'
540540 {
541541 value = 1 ;
542542 }
0 commit comments