Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10556


Ignore:
Timestamp:
Aug 29, 2015, 5:40:08 PM (5 years ago)
Author:
landauf
Message:

I assume that this should be WeakPtr instead of StrongPtr?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core7/src/libraries/network/synchronisable/Serialise.h

    r10555 r10556  
    125125    {
    126126        //         *const_cast<typename Loki::TypeTraits<T*>::UnqualifiedType*>(&variable) = dynamic_cast<T*>(variable->getSynchronisable( *(uint32_t*)(mem) ));
    127         *const_cast<typename Loki::TypeTraits<StrongPtr<T> >::UnqualifiedType*>(&variable) = orxonox_cast<T*>(T::getSynchronisable(*(uint32_t*)(mem)));
     127        *const_cast<typename Loki::TypeTraits<WeakPtr<T> >::UnqualifiedType*>(&variable) = orxonox_cast<T*>(T::getSynchronisable(*(uint32_t*)(mem)));
    128128        mem += returnSize( variable );
    129129    }
Note: See TracChangeset for help on using the changeset viewer.