summaryrefslogtreecommitdiff
path: root/boost/hana/functional/capture.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/hana/functional/capture.hpp')
-rw-r--r--boost/hana/functional/capture.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/boost/hana/functional/capture.hpp b/boost/hana/functional/capture.hpp
index 0b5a4677d8..65b4675833 100644
--- a/boost/hana/functional/capture.hpp
+++ b/boost/hana/functional/capture.hpp
@@ -2,7 +2,7 @@
@file
Defines `boost::hana::capture`.
-@copyright Louis Dionne 2013-2016
+@copyright Louis Dionne 2013-2017
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
@@ -54,7 +54,7 @@ BOOST_HANA_NAMESPACE_BEGIN
template <typename F, typename Closure, std::size_t ...i>
constexpr auto apply_capture(F&& f, Closure&& closure, std::index_sequence<i...>) {
return hana::partial(static_cast<F&&>(f),
- hana::get_impl<i>(static_cast<Closure&&>(closure).storage_)...
+ hana::at_c<i>(static_cast<Closure&&>(closure).storage_)...
);
}
}