Commit e36e508f authored by Max Lyon's avatar Max Lyon

call const version of end to make cppcheck happy

parent 2eebdd62
......@@ -766,7 +766,7 @@ public:
//! Complexity: O(1)
inline void erase(iterator _it)
{
assert(_it != end() && is_in(*_it));
assert(_it != const_cast<const ExtStatusSetT*>(this)->end() && is_in(*_it));
Base::erase(*_it);
*_it = handles_.back();
_it.pop_back();
......
Markdown is supported
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