diff options
Diffstat (limited to 'boost/hana/ordering.hpp')
-rw-r--r-- | boost/hana/ordering.hpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/boost/hana/ordering.hpp b/boost/hana/ordering.hpp index dfd94239f6..0be8bcaf6a 100644 --- a/boost/hana/ordering.hpp +++ b/boost/hana/ordering.hpp @@ -13,10 +13,9 @@ Distributed under the Boost Software License, Version 1.0. #include <boost/hana/fwd/ordering.hpp> #include <boost/hana/config.hpp> +#include <boost/hana/detail/decay.hpp> #include <boost/hana/less.hpp> -#include <type_traits> - BOOST_HANA_NAMESPACE_BEGIN namespace detail { @@ -37,7 +36,7 @@ BOOST_HANA_NAMESPACE_BEGIN //! @cond template <typename F> constexpr auto ordering_t::operator()(F&& f) const { - return detail::less_by<typename std::decay<F>::type>{static_cast<F&&>(f)}; + return detail::less_by<typename detail::decay<F>::type>{static_cast<F&&>(f)}; } //! @endcond BOOST_HANA_NAMESPACE_END |