Changeset 5216 in orxonox.OLD for trunk/src/lib/sound
- Timestamp:
- Sep 22, 2005, 4:44:56 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/sound/sound_engine.h
r4985 r5216 74 74 virtual ~SoundEngine(); 75 75 /** @returns a Pointer to the only object of this Class */ 76 inline static SoundEngine* getInstance() { if (! singletonRef) singletonRef = new SoundEngine(); returnsingletonRef; };76 inline static SoundEngine* getInstance() { if (!SoundEngine::singletonRef) SoundEngine::singletonRef = new SoundEngine(); return SoundEngine::singletonRef; }; 77 77 78 78 void loadSettings(IniParser* iniParser);
Note: See TracChangeset
for help on using the changeset viewer.