Core/Misc: Kill copy/move constructors for singleton classes

This commit is contained in:
Shauren
2025-06-10 13:12:33 +02:00
parent 564637b6a0
commit 7657a289d7
60 changed files with 351 additions and 116 deletions

View File

@@ -321,6 +321,11 @@ class TC_GAME_API MapScript
public:
MapScript(MapScript const& right) = delete;
MapScript(MapScript&& right) = delete;
MapScript& operator=(MapScript const& right) = delete;
MapScript& operator=(MapScript&& right) = delete;
// Gets the MapEntry structure associated with this script. Can return NULL.
MapEntry const* GetEntry() const;