Changeset 10624 for code/trunk/src/libraries/core/Namespace.cc
- Timestamp:
- Oct 4, 2015, 9:12:21 PM (9 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
-
code/trunk/src/libraries/core/Namespace.cc
r10298 r10624 47 47 RegisterObject(Namespace); 48 48 49 this->setNamespace( SmartPtr<Namespace>(this, false));49 this->setNamespace(WeakPtr<Namespace>(this)); // store a weak-pointer to itself (a strong-pointer would create a recursive dependency) 50 50 } 51 51 … … 105 105 void Namespace::loadObjects(BaseObject* object) 106 106 { 107 object->setNamespace(this);108 107 } 109 108
Note: See TracChangeset
for help on using the changeset viewer.