| 1576 | //----------------------------------------------------------------------------- |
| 1577 | |
| 1578 | bool SimObject::removeFromSet(SimObjectId sid) |
| 1579 | { |
| 1580 | if (mFlags.test(Added) == false) |
| 1581 | return false; |
| 1582 | |
| 1583 | SimSet *set; |
| 1584 | if(Sim::findObject(sid, set)) |
| 1585 | { |
| 1586 | set->removeObject(this); |
| 1587 | return true; |
| 1588 | } |
| 1589 | return false; |
| 1590 | } |
| 1591 | |
| 1592 | //----------------------------------------------------------------------------- |
| 1593 |
nothing calls this directly
no test coverage detected