Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5216 in orxonox.OLD for trunk/src/lib/sound/sound_engine.h


Ignore:
Timestamp:
Sep 22, 2005, 4:44:56 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: more fixes due to valgrind

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/sound/sound_engine.h

    r4985 r5216  
    7474    virtual ~SoundEngine();
    7575    /** @returns a Pointer to the only object of this Class */
    76     inline static SoundEngine* getInstance() { if (!singletonRef) singletonRef = new SoundEngine();  return singletonRef; };
     76    inline static SoundEngine* getInstance() { if (!SoundEngine::singletonRef) SoundEngine::singletonRef = new SoundEngine();  return SoundEngine::singletonRef; };
    7777
    7878    void loadSettings(IniParser* iniParser);
Note: See TracChangeset for help on using the changeset viewer.