ConfigData: forbid copying a config_param object
This commit is contained in:
parent
c434077728
commit
e44e0fab9f
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user