aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/config/utility.txx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/config/utility.txx')
-rw-r--r--libbuild2/config/utility.txx4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/config/utility.txx b/libbuild2/config/utility.txx
index ae40ba7..b88f76c 100644
--- a/libbuild2/config/utility.txx
+++ b/libbuild2/config/utility.txx
@@ -18,7 +18,7 @@ namespace build2
save_variable (rs, var, sflags);
- pair<lookup, size_t> org (rs.find_original (var));
+ pair<lookup, size_t> org (rs.lookup_original (var));
bool n (false); // New flag.
lookup l (org.first);
@@ -71,7 +71,7 @@ namespace build2
if (var.overrides != nullptr)
{
- pair<lookup, size_t> ovr (rs.find_override (var, move (org)));
+ pair<lookup, size_t> ovr (rs.lookup_override (var, move (org)));
if (l != ovr.first) // Overriden?
{