Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 29, 2008, 2:32:36 AM (17 years ago)
Author:
landauf
Message:

a singleton might be better implemented with a private constructor… so here we go

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core2/src/orxonox/core/CommandExecutor.h

    r949 r950  
    8585
    8686        private:
     87            CommandExecutor() {}
     88            CommandExecutor(const CommandExecutor& other) {}
     89            ~CommandExecutor() {}
     90
    8791            static CommandExecutor& getInstance();
    8892
Note: See TracChangeset for help on using the changeset viewer.