| 1430 | //----------------------------------------------------------------------------- |
| 1431 | |
| 1432 | bool SimObject::removeFromSet(SimObjectId sid) |
| 1433 | { |
| 1434 | if (mFlags.test(Added) == false) |
| 1435 | return false; |
| 1436 | |
| 1437 | SimSet *set; |
| 1438 | if(Sim::findObject(sid, set)) |
| 1439 | { |
| 1440 | set->removeObject(this); |
| 1441 | return true; |
| 1442 | } |
| 1443 | return false; |
| 1444 | } |
| 1445 | |
| 1446 | //----------------------------------------------------------------------------- |
| 1447 |
nothing calls this directly
no test coverage detected