summaryrefslogtreecommitdiff
path: root/boost/hana/ext/std/integral_constant.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/hana/ext/std/integral_constant.hpp')
-rw-r--r--boost/hana/ext/std/integral_constant.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/boost/hana/ext/std/integral_constant.hpp b/boost/hana/ext/std/integral_constant.hpp
index 28d8f05fb8..48db42400c 100644
--- a/boost/hana/ext/std/integral_constant.hpp
+++ b/boost/hana/ext/std/integral_constant.hpp
@@ -85,7 +85,7 @@ BOOST_HANA_NAMESPACE_BEGIN
template <typename T, typename C>
struct to_impl<ext::std::integral_constant_tag<T>, C, when<
hana::IntegralConstant<C>::value
- >> : embedding<is_embedded<typename C::value_type, T>{}> {
+ >> : embedding<is_embedded<typename C::value_type, T>::value> {
template <typename N>
static constexpr auto apply(N const&) {
return std::integral_constant<T, N::value>{};