From: Yedidya Feldblum Date: Mon, 21 Jul 2014 23:37:40 +0000 (-0700) Subject: Fix a folly build failure under clang: ConvTest.cpp. X-Git-Tag: v0.22.0~438 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c52e055c3caccff4cd957e32e69bf38e723d9ecb;p=folly.git 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 --- 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'); }