| 76 | } |
| 77 | |
| 78 | void MarkerHandleSet::RemoveHandle(int handle) { |
| 79 | MarkerHandleNumber **pmhn = &root; |
| 80 | while (*pmhn) { |
| 81 | MarkerHandleNumber *mhn = *pmhn; |
| 82 | if (mhn->handle == handle) { |
| 83 | *pmhn = mhn->next; |
| 84 | delete mhn; |
| 85 | return; |
| 86 | } |
| 87 | pmhn = &((*pmhn)->next); |
| 88 | } |
| 89 | } |
| 90 | |
| 91 | bool MarkerHandleSet::RemoveNumber(int markerNum, bool all) { |
| 92 | bool performedDeletion = false; |
no outgoing calls
no test coverage detected