diff options
author | Max Kellermann <max@duempel.org> | 2013-01-30 22:09:25 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-30 22:20:14 +0100 |
commit | 2d63c26936b2b9acfb8f2f81a109e4aff0b26fe7 (patch) | |
tree | 1c2bc61d5d53edabf09c8294e1d1d207551eb1cf /src/ConfigData.hxx | |
parent | 3cdd01aa1b889698768f2c53d736873f9f558e3b (diff) | |
download | mpd-2d63c26936b2b9acfb8f2f81a109e4aff0b26fe7.tar.gz mpd-2d63c26936b2b9acfb8f2f81a109e4aff0b26fe7.tar.xz mpd-2d63c26936b2b9acfb8f2f81a109e4aff0b26fe7.zip |
ConfigData: use std::string in block_param
Diffstat (limited to 'src/ConfigData.hxx')
-rw-r--r-- | src/ConfigData.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ConfigData.hxx b/src/ConfigData.hxx index 6da0e73b9..b71c0a9e4 100644 --- a/src/ConfigData.hxx +++ b/src/ConfigData.hxx @@ -26,6 +26,7 @@ #ifdef __cplusplus #include <glib.h> +#include <string> #include <array> #include <vector> #endif @@ -35,8 +36,8 @@ #ifdef __cplusplus struct block_param { - char *name; - char *value; + std::string name; + std::string value; int line; /** |