Only declare "deleted" constructors.
This commit is contained in:
parent
539d8123ed
commit
02e1a2b402
|
@ -166,8 +166,8 @@ class ConfigFile
|
||||||
config_file_t *conf;
|
config_file_t *conf;
|
||||||
std::string path;
|
std::string path;
|
||||||
|
|
||||||
ConfigFile(const ConfigFile&) {};
|
ConfigFile(const ConfigFile&); // Workaround lack of = delete.
|
||||||
void operator=(const ConfigFile&) {};
|
void operator=(const ConfigFile&);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue