Fixing up shadowed variable.

This commit is contained in:
Richard Powell 2015-11-22 12:32:56 -08:00
parent 3dfda0cfde
commit 5dbffe0eb7

View File

@ -507,7 +507,7 @@ namespace details
struct TypeListIndexer struct TypeListIndexer
{ {
const TypeChain & obj; const TypeChain & obj;
TypeListIndexer(const TypeChain & obj) :obj(obj){} TypeListIndexer(const TypeChain & obj_) :obj(obj_){}
template<size_t N> template<size_t N>
const TypeChain & getObj(std::true_type) const TypeChain & getObj(std::true_type)
{ {
@ -814,8 +814,8 @@ public:
using index_type = value_type; using index_type = value_type;
using index_size_type = typename IndexType::value_type; using index_size_type = typename IndexType::value_type;
template <typename Bounds> template <typename Bounds>
explicit bounds_iterator(const Bounds& bnd, value_type curr) noexcept explicit bounds_iterator(const Bounds& bnd, value_type curr_) noexcept
: boundary(bnd.index_bounds()), curr(std::move(curr)) : boundary(bnd.index_bounds()), curr(std::move(curr_))
{ {
static_assert(is_bounds<Bounds>::value, "Bounds type must be provided"); static_assert(is_bounds<Bounds>::value, "Bounds type must be provided");
} }