projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Enable -Wunused-variables
[folly.git]
/
folly
/
experimental
/
exception_tracer
/
test
/
ExceptionTracerBenchmark.cpp
diff --git
a/folly/experimental/exception_tracer/test/ExceptionTracerBenchmark.cpp
b/folly/experimental/exception_tracer/test/ExceptionTracerBenchmark.cpp
index 35f536fc33994a3f71d42da45c3e06deec0dacb6..af39fc05ec69d1b83351b556c15de415d7656c67 100644
(file)
--- a/
folly/experimental/exception_tracer/test/ExceptionTracerBenchmark.cpp
+++ b/
folly/experimental/exception_tracer/test/ExceptionTracerBenchmark.cpp
@@
-45,7
+45,7
@@
void loop(int iters) {
BENCHMARK(ExceptionTracer, iters) {
std::vector<std::thread> threads;
constexpr size_t kNumThreads = 10;
- threads.resize(
10
);
+ threads.resize(
kNumThreads
);
for (auto& t : threads) {
t = std::thread([iters]() { loop(iters); });
}