Commit e44e0fab authored by Max Kellermann's avatar Max Kellermann

ConfigData: forbid copying a config_param object

parent c4340777
......@@ -72,8 +72,12 @@ struct config_param {
gcc_nonnull_all
config_param(const char *_value, int _line=-1);
config_param(const config_param &) = delete;
~config_param();
config_param &operator=(const config_param &) = delete;
gcc_nonnull_all
void AddBlockParam(const char *_name, const char *_value,
int _line=-1) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment