summaryrefslogtreecommitdiff
path: root/boost/hana/group.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/hana/group.hpp')
-rw-r--r--boost/hana/group.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/boost/hana/group.hpp b/boost/hana/group.hpp
index b21cd6b5f0..52a3d64f70 100644
--- a/boost/hana/group.hpp
+++ b/boost/hana/group.hpp
@@ -78,7 +78,7 @@ BOOST_HANA_NAMESPACE_BEGIN
template <bool ...b>
struct group_indices {
- static constexpr bool bs[] = {b...};
+ static constexpr bool bs[sizeof...(b)] = {b...};
static constexpr std::size_t n_groups =
detail::count(bs, bs + sizeof(bs), false) + 1;