From 01a18876c3caf72e401c0f5ff34a54f0e620e5dd Mon Sep 17 00:00:00 2001 From: Aki Date: Mon, 28 Feb 2022 22:11:24 +0100 Subject: Fixed deleted copy and moves for bundle --- Stars45/ContentBundle.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Stars45/ContentBundle.h b/Stars45/ContentBundle.h index 7c23c66..f94e0d9 100644 --- a/Stars45/ContentBundle.h +++ b/Stars45/ContentBundle.h @@ -36,8 +36,9 @@ public: void UseLocale(Locale* locale); void Load(const char* bundle, Locale* locale); - int operator == (const ContentBundle& that) = delete; + ContentBundle(ContentBundle&& that) = delete; ContentBundle(const ContentBundle& that) = delete; + operator = (const ContentBundle& that) = delete; const Text& GetName() const { return name; } Text GetText(const char* key) const; -- cgit v1.1