@@ -348,9 +348,8 @@ void RegisterBenchmarks() {
348348 // max_threads)` (if max_threads >= 2).
349349 if (UseExplicitIterationCounts () && distribution_name == " TCMALLOC_5" ) {
350350 // Set an explicit iteration count for the default benchmark.
351- benchmark::RegisterBenchmark (
352- absl::StrCat (" BM_" , distribution_name).c_str (),
353- BM_TCMalloc_Empirical_Driver)
351+ benchmark::RegisterBenchmark (absl::StrCat (" BM_" , distribution_name),
352+ BM_TCMalloc_Empirical_Driver)
354353 ->Setup (BM_TCMalloc_Empirical_Driver_Setup)
355354 ->Teardown (BM_TCMalloc_Empirical_Driver_Teardown)
356355 ->ThreadRange (1 , 1 )
@@ -360,9 +359,8 @@ void RegisterBenchmarks() {
360359 }
361360
362361 if (distribution_name != " TCMALLOC_5" || max_threads >= min_threads)
363- benchmark::RegisterBenchmark (
364- absl::StrCat (" BM_" , distribution_name).c_str (),
365- BM_TCMalloc_Empirical_Driver)
362+ benchmark::RegisterBenchmark (absl::StrCat (" BM_" , distribution_name),
363+ BM_TCMalloc_Empirical_Driver)
366364 ->Setup (BM_TCMalloc_Empirical_Driver_Setup)
367365 ->Teardown (BM_TCMalloc_Empirical_Driver_Teardown)
368366 ->ThreadRange (min_threads, max_threads)
0 commit comments