Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 29, 2007, 7:42:29 PM (17 years ago)
Author:
landauf
Message:

realized a dynamic_cast isn't needed here

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FICN/src/orxonox/core/Identifier.h

    r715 r723  
    357357                {
    358358                    // Do a dynamic_cast, because an object of type T is much better than of type BaseObject
    359                     return dynamic_cast<T*>(newObject);
     359                    return (T*)(newObject);
    360360                }
    361361                else
Note: See TracChangeset for help on using the changeset viewer.