summaryrefslogtreecommitdiff
path: root/boost/hana/ext/std/integer_sequence.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/hana/ext/std/integer_sequence.hpp')
-rw-r--r--boost/hana/ext/std/integer_sequence.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/boost/hana/ext/std/integer_sequence.hpp b/boost/hana/ext/std/integer_sequence.hpp
index 27d01e3137..83536a3102 100644
--- a/boost/hana/ext/std/integer_sequence.hpp
+++ b/boost/hana/ext/std/integer_sequence.hpp
@@ -2,7 +2,7 @@
@file
Adapts `std::integer_sequence` for use with Hana.
-@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)
*/
@@ -105,8 +105,8 @@ BOOST_HANA_NAMESPACE_BEGIN
template <typename T, T ...v, typename N>
static constexpr auto apply(std::integer_sequence<T, v...> const&, N const&) {
constexpr std::size_t n = N::value;
- constexpr T values[] = {v...};
- return std::integral_constant<T, values[n]>{};
+ constexpr T values_[] = {v...};
+ return std::integral_constant<T, values_[n]>{};
}
};