aboutsummaryrefslogtreecommitdiffstats
path: root/test/read_conf.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-01-21 22:36:13 +0100
committerMax Kellermann <max@duempel.org>2015-01-21 23:30:00 +0100
commit1c3f5517fabc264d7b37935bd37197cdd68250ba (patch)
tree509f68fe930e79bfa4c70a1cf2146a347f8acdef /test/read_conf.cxx
parent10972da06030d57429dc2c86c21e37fd0aca88dc (diff)
downloadmpd-1c3f5517fabc264d7b37935bd37197cdd68250ba.tar.gz
mpd-1c3f5517fabc264d7b37935bd37197cdd68250ba.tar.xz
mpd-1c3f5517fabc264d7b37935bd37197cdd68250ba.zip
config/Option: convert to strictly-typed enum
Diffstat (limited to 'test/read_conf.cxx')
-rw-r--r--test/read_conf.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/read_conf.cxx b/test/read_conf.cxx
index 494fd4cd4..cb3cb207e 100644
--- a/test/read_conf.cxx
+++ b/test/read_conf.cxx
@@ -46,7 +46,7 @@ int main(int argc, char **argv)
}
ConfigOption option = ParseConfigOptionName(name);
- const char *value = option != CONF_MAX
+ const char *value = option != ConfigOption::MAX
? config_get_string(option, nullptr)
: nullptr;
int ret;