Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 9, 2008, 9:26:54 AM (15 years ago)
Author:
rgrieder
Message:

There is no this pointer with static variables. It's more of a C++ "feature".

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchy2/src/core/Core.h

    r2361 r2363  
    5656            void languageChanged();
    5757
    58             static Core& getInstance() { assert(singletonRef_s); return *singletonRef_s; }
     58            static Core& getInstance() { assert(Core::singletonRef_s); return *Core::singletonRef_s; }
    5959
    6060            static int   getSoftDebugLevel(OutputHandler::OutputDevice device = OutputHandler::LD_All);
Note: See TracChangeset for help on using the changeset viewer.