Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 1, 2015, 9:03:05 PM (9 years ago)
Author:
landauf
Message:

added tests and fixed constructors of StrongPtr and WeakPtr

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/cpp11_v2/src/libraries/core/object/WeakPtr.h

    r10624 r10744  
    118118            /// Copy-constructor for weak pointers to objects of another class.
    119119            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)
    121121            {
    122122                this->registerAsDestructionListener(this->base_);
Note: See TracChangeset for help on using the changeset viewer.