aboutsummaryrefslogtreecommitdiff
path: root/src/bench/lockedpool.cpp
diff options
context:
space:
mode:
authorPavel Janík <Pavel@Janik.cz>2016-11-10 08:00:05 +0100
committerPavel Janík <Pavel@Janik.cz>2016-12-05 11:41:46 +0100
commit9de90bb749926a51aac15d5998bff3e12425675e (patch)
treec8f36dfda28f69e8f90ea8bffb668a927d031e8c /src/bench/lockedpool.cpp
parent43e8150ef69093c906c4406ce58c1fd21fee898e (diff)
downloadbitcoin-9de90bb749926a51aac15d5998bff3e12425675e.tar.xz
Do not shadow variables (gcc set)
Diffstat (limited to 'src/bench/lockedpool.cpp')
-rw-r--r--src/bench/lockedpool.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bench/lockedpool.cpp b/src/bench/lockedpool.cpp
index 5df5b1ac6e..43a1422795 100644
--- a/src/bench/lockedpool.cpp
+++ b/src/bench/lockedpool.cpp
@@ -13,7 +13,7 @@
#define BITER 5000
#define MSIZE 2048
-static void LockedPool(benchmark::State& state)
+static void BenchLockedPool(benchmark::State& state)
{
void *synth_base = reinterpret_cast<void*>(0x08000000);
const size_t synth_size = 1024*1024;
@@ -43,5 +43,5 @@ static void LockedPool(benchmark::State& state)
addr.clear();
}
-BENCHMARK(LockedPool);
+BENCHMARK(BenchLockedPool);