feat: Remove copy contructore / assginment in PhanesProject

This commit is contained in:
Thorben Höhne 2025-05-01 19:48:13 +02:00
parent 27c6b7bb98
commit a9b2d7e6fc
Signed by: thoehne
GPG Key ID: 60D202D915B81DEC

View File

@ -1,7 +1,7 @@
#pragma once #pragma once
#include "StartingPointPCH.h"
#include "Core/Core.h" #include "Core/Core.h"
#include "StartingPointPCH.h"
// Entrypoint class for any Phanes game. // Entrypoint class for any Phanes game.
@ -11,12 +11,11 @@ namespace Phanes::Core::Application
{ {
private: private:
std::string projectName; std::string projectName;
public: public:
PhanesProject(std::string _ProjectName); PhanesProject(std::string _ProjectName);
virtual ~PhanesProject(); virtual ~PhanesProject();
/** /**
@ -30,12 +29,12 @@ namespace Phanes::Core::Application
std::string GetName(); std::string GetName();
PhanesProject(const PhanesProject&) = delete;
PhanesProject& operator=(const PhanesProject&) = delete;
}; };
/** /**
* Function to be overwriten by client. * Function to be overwriten by client.
*/ */
PhanesProject* CreatePhanesGame(); PhanesProject* CreatePhanesGame();
} } // namespace Phanes::Core::Application