Fix Build: folly with -Wmissing-braces
[folly.git] / folly / futures / test / FutureTest.cpp
index 8a66184af8e5dceec1417c8eac57244ab9104f31..7d0275d6013d9f86eb7d8fd68e917cfb9b9963a3 100644 (file)
@@ -620,7 +620,7 @@ TEST(Future, finishBigLambda) {
   // bulk_data, to be captured in the lambda passed to Future::then.
   // This is meant to force that the lambda can't be stored inside
   // the Future object.
-  std::array<char, sizeof(detail::Core<int>)> bulk_data = {0};
+  std::array<char, sizeof(detail::Core<int>)> bulk_data = {{0}};
 
   // suppress gcc warning about bulk_data not being used
   EXPECT_EQ(bulk_data[0], 0);