| 74 | } |
| 75 | |
| 76 | bool SimObjectList::remove(SimObject* obj) |
| 77 | { |
| 78 | iterator ptr = find(begin(),end(),obj); |
| 79 | if (ptr != end()) |
| 80 | { |
| 81 | erase(ptr); |
| 82 | return true; |
| 83 | } |
| 84 | |
| 85 | return false; |
| 86 | } |
| 87 | |
| 88 | bool SimObjectList::removeStable(SimObject* obj) |
| 89 | { |
no test coverage detected