------------------------------------------------------------------------------
| 110 | |
| 111 | //------------------------------------------------------------------------------ |
| 112 | bool vtkObjectIdMap::FreeObjectById(vtkTypeUInt32 id) |
| 113 | { |
| 114 | auto iter = this->Internals->Object.find(id); |
| 115 | auto found = iter != this->Internals->Object.end(); |
| 116 | if (found) |
| 117 | { |
| 118 | this->Internals->GlobalId.erase(iter->second); |
| 119 | this->Internals->Object.erase(iter); |
| 120 | } |
| 121 | return found; |
| 122 | } |
| 123 | VTK_ABI_NAMESPACE_END |
no test coverage detected