Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 7, 2008, 2:34:54 AM (16 years ago)
Author:
landauf
Message:

used isInitialized() in destructors where needed and changed constructors back to normal variable initialization instead of the "myclass() : variable(value), …" pattern. in my opinion this is much more comfortable and I hope everyone agrees ;)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/core/BaseObject.cc

    r1558 r1559  
    4545        @brief Constructor: Registers the object in the BaseObject-list.
    4646    */
    47     BaseObject::BaseObject() :
    48         bInitialized_(false),
    49         bActive_(true),
    50         bVisible_(true),
    51         level_(0),
    52         namespace_(0)
     47    BaseObject::BaseObject() : bInitialized_(false)
    5348    {
    5449        RegisterRootObject(BaseObject);
    5550
    5651        this->bInitialized_ = true;
     52
     53        this->bActive_ = true;
     54        this->bVisible_ = true;
     55
     56        this->level_ = 0;
     57        this->namespace_ = 0;
    5758    }
    5859
Note: See TracChangeset for help on using the changeset viewer.