Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 27, 2007, 5:49:03 AM (16 years ago)
Author:
landauf
Message:

hopefully replaced all static pre-main variables with more secure wrapper functions. and now i'll sleep.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FICN/src/orxonox/core/Factory.cc

    r682 r698  
    104104    Factory* Factory::getFactoryPointer()
    105105    {
    106       static Factory theOneAndOnlyInstance = Factory();
    107       return &theOneAndOnlyInstance;
     106      static Factory theOneAndOnlyFactoryInstance = Factory();
     107      return &theOneAndOnlyFactoryInstance;
    108108    }
    109109}
Note: See TracChangeset for help on using the changeset viewer.