Changeset 10990 for code/branches/cpp11_v2/src/libraries/core/Game.h
- Timestamp:
- Dec 29, 2015, 4:47:42 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/libraries/core/Game.h
r10845 r10990 92 92 93 93 //! Leave empty and use cleanup() instead 94 ~Game() {}94 ~Game() = default; 95 95 /// Destructor that also executes when object fails to construct 96 96 void destroy(); … … 122 122 { 123 123 public: 124 virtual ~GameStateFactory() { }124 virtual ~GameStateFactory() = default; 125 125 static std::shared_ptr<GameState> fabricate(const GameStateInfo& info); 126 126 template <class T> … … 145 145 }; 146 146 147 Game( Game&); // don't mess with singletons147 Game(const Game&) = delete; 148 148 149 149 void loadGraphics();
Note: See TracChangeset
for help on using the changeset viewer.