mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Misc: Kill copy/move constructors for singleton classes
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user