Commit 0f2d575e authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

Cosmetic change to checked_vector_property_map

parent b50b31da
Pipeline #109 failed with stage
......@@ -132,8 +132,8 @@ public:
// CONSIDER: not sure that assignment to 'index' is correct.
reference operator[](const key_type& v) const {
typename property_traits<IndexMap>::value_type i = get(index, v);
if (static_cast<unsigned>(i) >= store->size()) {
auto i = get(index, v);
if (static_cast<size_t>(i) >= store->size()) {
store->resize(i + 1, T());
return (*store)[i];
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment