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/Iterator.h

    r2784 r2815  
    181181                    this->list_->unregisterIterator(this);
    182182
    183                 this->element_ = (other.element_) ? (ObjectListBaseElement*)other.element_ : 0;
     183                this->element_ = (other.element_) ? static_cast<ObjectListBaseElement*>(other.element_) : 0;
    184184                this->list_ = ClassIdentifier<O>::getIdentifier()->getObjects();
    185185                this->list_->registerIterator(this);
Note: See TracChangeset for help on using the changeset viewer.