mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-31 06:36:39 +00:00
Mark State copy constructor and assignment operators as delete
This commit is contained in:
parent
e07d8f3066
commit
755fef62f7
1 changed files with 4 additions and 5 deletions
|
@ -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…
Reference in a new issue