Commit 5f8a9671 authored by Dan Melnic's avatar Dan Melnic Committed by Facebook Github Bot

Fix SingletonBenchmark.cpp init

Summary: Call folly::SingletonVault::singleton<BenchmarkTag>()->registrationComplete() to avoid an assert

Reviewed By: yfeldblum

Differential Revision: D15159381

fbshipit-source-id: 6f3be22d433e77d6e1b5293098a6dedd42e65bb6
parent c501bc43
......@@ -144,6 +144,7 @@ int main(int argc, char** argv) {
gflags::SetCommandLineOptionWithMode(
"bm_min_usec", "100000", gflags::SET_FLAG_IF_DEFAULT);
folly::SingletonVault::singleton<BenchmarkTag>()->registrationComplete();
folly::runBenchmarks();
return 0;
......
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