1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-24 18:39:59 +00:00

Mark State copy constructor and assignment operators as delete

This commit is contained in:
elsid 2023-11-12 00:42:58 +01:00
parent e07d8f3066
commit 755fef62f7
No known key found for this signature in database
GPG Key ID: 4DE04C198CBA7625

View File

@ -51,11 +51,6 @@ namespace CSMPrefs
Iterator mCurrentCategory;
QMutex mMutex;
// not implemented
State(const State&);
State& operator=(const State&);
private:
void declare();
void declareCategory(const std::string& key);
@ -82,8 +77,12 @@ namespace CSMPrefs
public:
State(const Files::ConfigurationManager& configurationManager);
State(const State&) = delete;
~State();
State& operator=(const State&) = delete;
void save();
Iterator begin();