Skip to content

Commit

Permalink
function modification
Browse files Browse the repository at this point in the history
  • Loading branch information
0xalen committed May 28, 2017
1 parent 1ef748a commit 9aa3958
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ns-2.35/linkstate/ls.h
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ class LsMap : public map<Key, T, less<Key> > {
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);
Expand Down

0 comments on commit 9aa3958

Please sign in to comment.