Fix Build: folly with -Wmissing-braces
[folly.git] / folly / Array.h
index 77faafe34d75e8c12752e5136fec2870efcd4f0a..7ca3b6ca49f169fda66baf2787a09e52a70deb08 100644 (file)
@@ -53,7 +53,7 @@ template <typename D = void, typename... TList>
 constexpr array_detail::return_type<D, TList...> make_array(TList&&... t) {
   using value_type =
       typename array_detail::return_type_helper<D, TList...>::type;
-  return {static_cast<value_type>(std::forward<TList>(t))...};
+  return {{static_cast<value_type>(std::forward<TList>(t))...}};
 }
 
 } // !folly