SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
12
net/ns/patches/patch-linkstate_ls_h
Normal file
12
net/ns/patches/patch-linkstate_ls_h
Normal file
|
@ -0,0 +1,12 @@
|
|||
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);
|
Loading…
Add table
Add a link
Reference in a new issue