mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
[NFC] Silence compiler warning [-Wmissing-braces].
llvm/include/llvm/Support/FormatVariadic.h:146:15: warning: suggest braces around initialization of subobject [-Wmissing-braces] return {&Items...}; ^~~~~~ { }
This commit is contained in:
parent
3321900b44
commit
a896ef43f6
@ -143,7 +143,7 @@ template <typename Tuple> class formatv_object : public formatv_object_base {
|
||||
template <typename... Ts>
|
||||
std::array<detail::format_adapter *, std::tuple_size<Tuple>::value>
|
||||
operator()(Ts &... Items) {
|
||||
return {&Items...};
|
||||
return {{&Items...}};
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user