Changeset 6922 for code/branches
- Timestamp:
- May 18, 2010, 9:34:53 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/hudelements/src/modules/overlays/hud/HUDNavigation.cc
r6917 r6922 95 95 } 96 96 97 HUDNavigation::~HUDNavigation() {98 97 HUDNavigation::~HUDNavigation() 98 { 99 99 if (this->isInitialized()) 100 100 { 101 activeObjectListType::iterator it; 102 for( it = activeObjectList_.begin(); it!=activeObjectList_.end(); ++it ) 103 { 104 removeObject(it->first); 105 } 106 activeObjectList_.clear(); 107 } 108 } 109 110 void HUDNavigation::XMLPort(Element& xmlElement, XMLPort::Mode mode) { 101 for (activeObjectListType::iterator it = activeObjectList_.begin(); it != activeObjectList_.end();) 102 removeObject((it++)->first); 103 } 104 } 105 106 void HUDNavigation::XMLPort(Element& xmlElement, XMLPort::Mode mode) 107 { 111 108 SUPER(HUDNavigation, XMLPort, xmlElement, mode); 112 109
Note: See TracChangeset
for help on using the changeset viewer.