ConfigData: forbid copying a config_param object

This commit is contained in:
Max Kellermann 2013-01-30 22:35:57 +01:00
parent c434077728
commit e44e0fab9f

View File

@ -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) {