Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 4, 2012, 10:50:28 PM (12 years ago)
Author:
landauf
Message:

use orxonox_cast instead of dynamic_cast wherever possible

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2012merge/src/libraries/core/Super.h

    r8866 r9279  
    398398                    inline void operator()( SUPER_CALL_ARGUMENTS##hasarguments(__VA_ARGS__) ) \
    399399                    { \
    400                         (dynamic_cast<T*>(object))->T:: functionname
     400                        (orxonox_cast<T*>(object))->T:: functionname
    401401
    402402        /*
     
    508508                inline void operator()( SUPER_CALL_ARGUMENTS##hasarguments(__VA_ARGS__) )
    509509                {
    510                     (dynamic_cast<T*>(object))->T:: functionname ( Call the function with it's arguments );
     510                    (orxonox_cast<T*>(object))->T:: functionname ( Call the function with it's arguments );
    511511                }
    512512
Note: See TracChangeset for help on using the changeset viewer.