diff options
author | Eric Fiselier <eric@efcs.ca> | 2018-04-07 01:28:54 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2018-04-07 01:28:54 +0000 |
commit | b12cc2003a2375cd3e207bb831930719d11521ab (patch) | |
tree | ec9c8876c3b6eaf7e8c68425df904f17f996c41c | |
parent | c3b5515e516c824ef4c66624a0c6f62550032aaf (diff) | |
download | bcm5719-llvm-b12cc2003a2375cd3e207bb831930719d11521ab.tar.gz bcm5719-llvm-b12cc2003a2375cd3e207bb831930719d11521ab.zip |
Work around missing braces in init warning
llvm-svn: 329474
-rw-r--r-- | libcxx/include/compare | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/compare b/libcxx/include/compare index 2aa4d864177..fd4d7f51118 100644 --- a/libcxx/include/compare +++ b/libcxx/include/compare @@ -635,7 +635,7 @@ __compute_comp_type(std::array<_ClassifyCompCategory, _Size> __types) { template <class ..._Ts> constexpr auto __get_comp_type() { using _CCC = _ClassifyCompCategory; - constexpr array<_CCC, sizeof...(_Ts)> __type_kinds{__comp_detail::__type_to_enum<_Ts>()...}; + constexpr array<_CCC, sizeof...(_Ts)> __type_kinds{{__comp_detail::__type_to_enum<_Ts>()...}}; constexpr _CCC _Cat = sizeof...(_Ts) == 0 ? _StrongOrd : __compute_comp_type(__type_kinds); if constexpr (_Cat == _None) |