From 6a6b22d92cfefdb9684904e34e0a4b6def12c20b Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Thu, 17 Sep 2015 20:03:58 +0100 Subject: [PATCH] Fix libstdc++ 4.8 compatibility --- src/id_map.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }