Commit 649cb97d authored by Marcelo Juchem's avatar Marcelo Juchem Committed by Dave Watson

Making folly/Benchmark.cpp clangable

Summary: trunk fails to compile under clang: https://phabricator.fb.com/P6426175

Test Plan: ran some benchmarks and checked output

Reviewed By: andrei.alexandrescu@fb.com

FB internal diff: D1192933
parent 122b967d
......@@ -424,7 +424,7 @@ void runBenchmarks() {
get<2>(benchmarks.front()), 0);
FOR_EACH_RANGE (i, 1, benchmarks.size()) {
double elapsed = 0.0;
if (strcmp(get<1>(benchmarks[i]), "-")) { // skip separators
if (strcmp(get<1>(benchmarks[i]), "-") != 0) { // skip separators
if (bmRegex && !boost::regex_search(get<1>(benchmarks[i]), *bmRegex)) {
continue;
}
......
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