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 --- src/config/ConfigPath.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/config/ConfigPath.cxx') diff --git a/src/config/ConfigPath.cxx b/src/config/ConfigPath.cxx index c10b3a1d5..fe42fdf60 100644 --- a/src/config/ConfigPath.cxx +++ b/src/config/ConfigPath.cxx @@ -70,7 +70,7 @@ GetHome(Error &error) static AllocatedPath GetConfiguredHome(Error &error) { - const char *user = config_get_string(CONF_USER, nullptr); + const char *user = config_get_string(ConfigOption::USER, nullptr); return user != nullptr ? GetHome(user, error) : GetHome(error); -- cgit v1.2.3