Only declare "deleted" constructors.

This commit is contained in:
Themaister 2012-11-14 22:09:49 +01:00
parent 539d8123ed
commit 02e1a2b402

View File

@ -166,8 +166,8 @@ class ConfigFile
config_file_t *conf;
std::string path;
ConfigFile(const ConfigFile&) {};
void operator=(const ConfigFile&) {};
ConfigFile(const ConfigFile&); // Workaround lack of = delete.
void operator=(const ConfigFile&);
};
#endif