Fix libstdc++ 4.8 compatibility

This commit is contained in:
Maxime Coste 2015-09-17 20:03:58 +01:00
parent e7a8f64722
commit 6a6b22d92c

View File

@ -153,7 +153,7 @@ public:
void reserve(size_t size) { m_content.reserve(size); } void reserve(size_t size) { m_content.reserve(size); }
size_t size() const { return m_content.size(); } size_t size() const { return m_content.size(); }
void clear() { m_content.clear(); } 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; } static const String& get_id(const Element& e) { return e.key; }