Commit 1958c549 authored by Dan Melnic's avatar Dan Melnic Committed by Facebook Github Bot

Fix: folly/experimental/coro/test/CoroBenchmarkAllocator.cpp:363:20: error:...

Fix: folly/experimental/coro/test/CoroBenchmarkAllocator.cpp:363:20: error: 'Recursion' has not been declared

Summary: Fix: folly/experimental/coro/test/CoroBenchmarkAllocator.cpp:363:20: error: 'Recursion' has not been declared

Reviewed By: yfeldblum

Differential Revision: D9727088

fbshipit-source-id: 91447187bc6d34b965d5f8c2cedd66950b1fe909
parent 7ae9308b
...@@ -357,7 +357,6 @@ BENCHMARK(coroRecursionAllocatorDepth10, iters) { ...@@ -357,7 +357,6 @@ BENCHMARK(coroRecursionAllocatorDepth10, iters) {
BENCHMARK(coroRecursionAllocatorDepth1000, iters) { BENCHMARK(coroRecursionAllocatorDepth1000, iters) {
coroRecursionAllocator(1000, iters); coroRecursionAllocator(1000, iters);
} }
#endif
void recursion(size_t times, size_t iters) { void recursion(size_t times, size_t iters) {
auto recursion = Recursion::create(times); auto recursion = Recursion::create(times);
...@@ -373,6 +372,7 @@ BENCHMARK(recursionDepth10, iters) { ...@@ -373,6 +372,7 @@ BENCHMARK(recursionDepth10, iters) {
BENCHMARK(recursionDepth1000, iters) { BENCHMARK(recursionDepth1000, iters) {
recursion(1000, iters); recursion(1000, iters);
} }
#endif
int main(int argc, char** argv) { int main(int argc, char** argv) {
gflags::ParseCommandLineFlags(&argc, &argv, true); gflags::ParseCommandLineFlags(&argc, &argv, true);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment