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:
parent
e07d8f3066
commit
755fef62f7
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user