diff --git a/src/id_map.hh b/src/id_map.hh index b8593e69..03e03353 100644 --- a/src/id_map.hh +++ b/src/id_map.hh @@ -153,7 +153,7 @@ public: void reserve(size_t size) { m_content.reserve(size); } size_t size() const { return m_content.size(); } void clear() { m_content.clear(); } - void erase(const_iterator it) { m_content.erase(it); } + void erase(iterator it) { m_content.erase(it); } static const String& get_id(const Element& e) { return e.key; }