summarylogtreecommitdiffstats
path: root/ns-2.35-linkstate-erase.fix
blob: ea118964baaf2b783df7a2a64966c87be343332d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/linkstate/ls.h b/linkstate/ls.h
index 5a7800a..7b0fb53 100644
--- a/linkstate/ls.h
+++ b/linkstate/ls.h
@@ -134,7 +134,7 @@ 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);