Explicitly deleted copy and move constructors
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user