diff --git a/source/ps/CStrIntern.cpp b/source/ps/CStrIntern.cpp index 9717a45314..0d260c97c4 100644 --- a/source/ps/CStrIntern.cpp +++ b/source/ps/CStrIntern.cpp @@ -34,6 +34,8 @@ public: // LOGWARNING("New interned string '%s'", data.c_str()); } + CStrInternInternals(const CStrInternInternals& b) = default; + bool operator==(const CStrInternInternals& b) const { // Compare hash first for quick rejection of inequal strings diff --git a/source/tools/atlas/GameInterface/MessagesSetup.h b/source/tools/atlas/GameInterface/MessagesSetup.h index 71b075a72c..f4fe92b0a7 100644 --- a/source/tools/atlas/GameInterface/MessagesSetup.h +++ b/source/tools/atlas/GameInterface/MessagesSetup.h @@ -91,8 +91,9 @@ const bool NOMERGE = false; #define COMMANDDATASTRUCT(t) \ struct d##t { \ private: \ - d##t& operator=(const d##t&) = delete; \ - public: + const d##t& operator=(const d##t&); \ + public: \ + d##t(const d##t& d) = default; #define COMMANDSTRUCT(t, merge) \ struct m##t : public mWorldCommand, public d##t { \