Mark State copy constructor and assignment operators as delete

macos_ci_fix
elsid 1 year ago
parent e07d8f3066
commit 755fef62f7
No known key found for this signature in database
GPG Key ID: 4DE04C198CBA7625

@ -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…
Cancel
Save