Changeset 10744 for code/branches/cpp11_v2/src/libraries
- Timestamp:
- Nov 1, 2015, 9:03:05 PM (9 years ago)
- Location:
- code/branches/cpp11_v2/src/libraries/core/object
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/libraries/core/object/StrongPtr.h
r10624 r10744 158 158 /// Copy-constructor for strong pointers to objects of another class. 159 159 template <class O> 160 inline StrongPtr(const StrongPtr<O>& other) : pointer_(other.get()), base_(other. base_)160 inline StrongPtr(const StrongPtr<O>& other) : pointer_(other.get()), base_(other.getBase()) 161 161 { 162 162 if (this->base_) -
code/branches/cpp11_v2/src/libraries/core/object/WeakPtr.h
r10624 r10744 118 118 /// Copy-constructor for weak pointers to objects of another class. 119 119 template <class O> 120 inline WeakPtr(const WeakPtr<O>& other) : pointer_(other.get()), base_(other. base_), callback_(0)120 inline WeakPtr(const WeakPtr<O>& other) : pointer_(other.get()), base_(other.getBase()), callback_(0) 121 121 { 122 122 this->registerAsDestructionListener(this->base_);
Note: See TracChangeset
for help on using the changeset viewer.