diff options
author | Max Kellermann <max@duempel.org> | 2013-01-30 22:35:57 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-30 22:39:24 +0100 |
commit | e44e0fab9f0851d5a369778923c03701e31b9e79 (patch) | |
tree | 452cbb3bcc524e6d534162d091bfc46b16ad384b | |
parent | c434077728f221503a810d66d15bed489829a9c8 (diff) | |
download | mpd-e44e0fab9f0851d5a369778923c03701e31b9e79.tar.gz mpd-e44e0fab9f0851d5a369778923c03701e31b9e79.tar.xz mpd-e44e0fab9f0851d5a369778923c03701e31b9e79.zip |
ConfigData: forbid copying a config_param object
-rw-r--r-- | src/ConfigData.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ConfigData.hxx b/src/ConfigData.hxx index 93d1092fb..053cf3b39 100644 --- a/src/ConfigData.hxx +++ b/src/ConfigData.hxx @@ -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) { |