diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-03-28 15:59:06 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-03-28 16:03:35 +0200 |
commit | 96f2131e593e206f0e458409f22adfff8c1b5356 (patch) | |
tree | fdb71a7a435d631872e0413dbe13113a636932de /build2/cli/module.cxx | |
parent | 69801c4e23f877359118e55ed291737f4fbece04 (diff) |
Clean up variable usage
Diffstat (limited to 'build2/cli/module.cxx')
-rw-r--r-- | build2/cli/module.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build2/cli/module.cxx b/build2/cli/module.cxx index 4e81908..15c8b90 100644 --- a/build2/cli/module.cxx +++ b/build2/cli/module.cxx @@ -57,7 +57,7 @@ namespace build2 v.find<bool> ("config.cli.configured"); - v.find<string> ("config.cli"); //@@ VAR type + v.find<path> ("config.cli"); v.find<strings> ("config.cli.options"); v.find<strings> ("cli.options"); @@ -174,13 +174,13 @@ namespace build2 } else { - auto p (config::required (root, "config.cli", cli)); + auto p (config::required (root, "config.cli", path (cli))); assert (p.second && cast<string> (p.first) == cli); } } else { - auto p (config::required (root, "config.cli", cli)); + auto p (config::required (root, "config.cli", path (cli))); // If we actually set a new value, test it by trying to execute. // |