Explicitly deleted copy and move constructors

This commit is contained in:
Kayne Ruse
2013-06-24 09:13:27 +10:00
parent f049c96df7
commit 42787dcb69
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -44,6 +44,8 @@ public:
void Proc(); void Proc();
void Quit(); void Quit();
SceneManager(SceneManager const&) = delete;
SceneManager(SceneManager const&&) = delete;
private: private:
/* Private access members */ /* Private access members */
void LoadScene(SceneList sceneIndex); void LoadScene(SceneList sceneIndex);
+1
View File
@@ -68,6 +68,7 @@ public:
void Quit(); void Quit();
ServerApplication(ServerApplication const&) = delete; ServerApplication(ServerApplication const&) = delete;
ServerApplication(ServerApplication const&&) = delete;
private: private:
//game loop //game loop
void UpdateWorld(double delta); void UpdateWorld(double delta);