Changeset 11020 for code/trunk
- Timestamp:
- Jan 2, 2016, 9:08:54 PM (9 years ago)
- Location:
- code/trunk/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/libraries/core/CoreIncludes.h
r10624 r11020 229 229 , identifier_(identifier) 230 230 {} 231 ~StaticallyInitializedIdentifier() { delete identifier_; }231 ~StaticallyInitializedIdentifier() { identifier_->destroy(); } 232 232 233 233 virtual void load() -
code/trunk/src/modules/objects/triggers/MultiTrigger.cc
r9667 r11020 454 454 this->fireEvent(status, container); 455 455 orxout(verbose, context::triggers) << "MultiTrigger '" << this->getName() << "' (&" << this << "): Fired event. originator: " << originator->getIdentifier()->getName() << " (&" << originator << "), status: " << status << "." << endl; 456 delete container;456 container->destroy(); 457 457 } 458 458 -
code/trunk/src/modules/portals/PortalEndPoint.cc
r9667 r11020 71 71 { 72 72 if(this->isInitialized() && this->trigger_ != NULL) 73 delete this->trigger_;73 this->trigger_->destroy(); 74 74 } 75 75 -
code/trunk/src/orxonox/LevelManager.cc
r10624 r11020 80 80 std::set<LevelInfoItem*, LevelInfoCompare>::iterator it = availableLevels_.begin(); 81 81 for (; it != availableLevels_.end(); ++it) 82 delete *it;82 (*it)->destroy(); 83 83 } 84 84
Note: See TracChangeset
for help on using the changeset viewer.