Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 9, 2009, 9:34:47 AM (15 years ago)
Author:
rgrieder
Message:

Use base class method for getInstance (for tolua interface).

Location:
code/branches/presentation2/src/orxonox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2/src/orxonox/MoodManager.h

    r6119 r6278  
    5656            const std::string& getMood();
    5757
    58             static MoodManager& getInstance()    { return Singleton<MoodManager>::getInstance(); } // tolua_export
     58            static MoodManager& getInstance() { return Singleton<MoodManager>::getInstance(); } // tolua_export
    5959
    6060        private:
  • code/branches/presentation2/src/orxonox/sound/SoundManager.h

    r6270 r6278  
    8080       
    8181        // tolua_begin
    82         static SoundManager& getInstance()
    83             { return Singleton<SoundManager>::getInstance(); }
     82        static SoundManager& getInstance() { return Singleton<SoundManager>::getInstance(); }
    8483
    8584        std::string getDeviceName(unsigned int index) const
Note: See TracChangeset for help on using the changeset viewer.