Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 21, 2009, 5:56:10 PM (15 years ago)
Author:
rgrieder
Message:

various small changes:

  • Fixed a bug in the GameStates concerning return type of virtual functions
  • Found some more C-style casts
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/gui/src/core/ObjectListBase.h

    r2784 r2815  
    7171    {
    7272        public:
    73             ObjectListElement(T* object) : ObjectListBaseElement((OrxonoxClass*)object), object_(object) {}
     73            ObjectListElement(T* object) : ObjectListBaseElement(static_cast<OrxonoxClass*>(object)), object_(object) {}
    7474            T* object_;              //!< The object
    7575    };
Note: See TracChangeset for help on using the changeset viewer.