From c52e055c3caccff4cd957e32e69bf38e723d9ecb Mon Sep 17 00:00:00 2001 From: Yedidya Feldblum Date: Mon, 21 Jul 2014 16:37:40 -0700 Subject: [PATCH] Fix a folly build failure under clang: ConvTest.cpp. Summary: [Folly] Fix a folly build failure under clang: ConvTest.cpp. Test Plan: Build the unit-test folly/test/ConvTest.cpp with clang. Reviewed By: tudorb@fb.com, njormrod@fb.com Subscribers: mathieubaudet, dougw FB internal diff: D1446232 Tasks: 4723132 --- folly/test/ConvTest.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/folly/test/ConvTest.cpp b/folly/test/ConvTest.cpp index ffe7934e..a52869ea 100644 --- a/folly/test/ConvTest.cpp +++ b/folly/test/ConvTest.cpp @@ -936,6 +936,7 @@ void u2aAppendFollyBM(unsigned int n, uint64_t value) { template struct StringIdenticalToBM { + StringIdenticalToBM() {} void operator()(unsigned int n, size_t len) const { String s; BENCHMARK_SUSPEND { s.append(len, '0'); } @@ -948,6 +949,7 @@ struct StringIdenticalToBM { template struct StringVariadicToBM { + StringVariadicToBM() {} void operator()(unsigned int n, size_t len) const { String s; BENCHMARK_SUSPEND { s.append(len, '0'); } -- 2.34.1