Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10422 for code/branches


Ignore:
Timestamp:
May 3, 2015, 3:49:13 PM (10 years ago)
Author:
landauf
Message:

details

Location:
code/branches/core7/src/libraries
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core7/src/libraries/core/class/Identifier.h

    r10403 r10422  
    315315            ClassIdentifier<T>::classIdentifier_s = (ClassIdentifier<T>*) IdentifierManager::getInstance().getIdentifierByTypeInfo(typeid(T));
    316316
    317         OrxVerify(ClassIdentifier<T>::classIdentifier_s != NULL, "Assertion failed in ClassIdentifier of type " << typeid(T).name());
     317        OrxVerify(ClassIdentifier<T>::classIdentifier_s != NULL, "Did you forget to register the class of type " << typeid(T).name() << "?");
    318318        return ClassIdentifier<T>::classIdentifier_s;
    319319    }
  • code/branches/core7/src/libraries/util/SharedPtr.h

    r8351 r10422  
    138138        OtherClass* other3 = new OtherClass(object);        // "
    139139
    140     }                                                       // The SmartPtr "object" is destroyed at the end of the scope,
     140    }                                                       // The SharedPtr "object" is destroyed at the end of the scope,
    141141                                                            // but the three instances of OtherClass keep the object alive
    142142                                                            // until they are all destroyed.
Note: See TracChangeset for help on using the changeset viewer.