diff --git a/include/span.h b/include/span.h index f694df5..22b6796 100644 --- a/include/span.h +++ b/include/span.h @@ -507,7 +507,7 @@ namespace details struct TypeListIndexer { const TypeChain & obj; - TypeListIndexer(const TypeChain & obj_) :obj(obj_){} + TypeListIndexer(const TypeChain & object) :obj(object){} template const TypeChain & getObj(std::true_type) { @@ -814,8 +814,8 @@ public: using index_type = value_type; using index_size_type = typename IndexType::value_type; template - explicit bounds_iterator(const Bounds& bnd, value_type curr_) noexcept - : boundary(bnd.index_bounds()), curr(std::move(curr_)) + explicit bounds_iterator(const Bounds& bnd, value_type current) noexcept + : boundary(bnd.index_bounds()), curr(std::move(current)) { static_assert(is_bounds::value, "Bounds type must be provided"); }