From 1c3f5517fabc264d7b37935bd37197cdd68250ba Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 21 Jan 2015 22:36:13 +0100 Subject: config/Option: convert to strictly-typed enum --- test/read_conf.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/read_conf.cxx') 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; -- cgit v1.2.3