Index: linkstate/ls.h
--- linkstate/ls.h.orig
+++ linkstate/ls.h
@@ -134,7 +134,7 @@ class LsMap : public map<Key, T, less<Key> > { (public
 		return ib.second ? ib.first : baseMap::end();
 	}
 
-	void eraseAll() { erase(baseMap::begin(), baseMap::end()); }
+	void eraseAll() { this->erase(baseMap::begin(), baseMap::end()); }
 	T* findPtr(Key key) {
 		iterator it = baseMap::find(key);
 		return (it == baseMap::end()) ? (T *)NULL : &((*it).second);
