Changeset 896 for code/branches/core2/src/orxonox/core/Namespace.cc
- Timestamp:
- Mar 17, 2008, 5:05:54 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core2/src/orxonox/core/Namespace.cc
r895 r896 41 41 42 42 this->bAutogeneratedFileRootNamespace_ = false; 43 this->bDeleteNamespaceNodesAfterDestruction_ = false; 43 44 this->operator_ = "or"; 44 45 } … … 46 47 Namespace::~Namespace() 47 48 { 49 if (this->bDeleteNamespaceNodesAfterDestruction_) 50 for (std::set<NamespaceNode*>::iterator it = this->representingNamespaces_.begin(); it != this->representingNamespaces_.end(); ++it) 51 delete (*it); 48 52 } 49 53
Note: See TracChangeset
for help on using the changeset viewer.