Fixes a recursive loop

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
Esteban Papp
2021-11-23 18:37:24 -08:00
parent 35c1751694
commit 3273b7621d
@@ -322,7 +322,7 @@ namespace Benchmark
void internalSetUp(const ::benchmark::State& state) override
{
AllocatorBenchmarkFixture<TAllocator>::SetUp(state);
AllocatorBenchmarkFixture<TAllocator>::internalSetUp(state);
m_allocations.resize(state.range_x(), nullptr);
}
@@ -332,7 +332,7 @@ namespace Benchmark
m_allocations.clear();
m_allocations.shrink_to_fit();
AllocatorBenchmarkFixture<TAllocator>::TearDown(state);
AllocatorBenchmarkFixture<TAllocator>::internalTearDown(state);
}
public:
@@ -386,7 +386,7 @@ namespace Benchmark
void internalSetUp(const ::benchmark::State& state) override
{
AllocatorBenchmarkFixture<TAllocator>::SetUp(state);
AllocatorBenchmarkFixture<TAllocator>::internalSetUp(state);
m_allocations.resize(state.range_x(), nullptr);
}
@@ -396,7 +396,7 @@ namespace Benchmark
m_allocations.clear();
m_allocations.shrink_to_fit();
AllocatorBenchmarkFixture<TAllocator>::TearDown(state);
AllocatorBenchmarkFixture<TAllocator>::internalTearDown(state);
}
public:
void Benchmark(benchmark::State& state)