aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/prerequisite.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/prerequisite.cxx')
-rw-r--r--libbuild2/prerequisite.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/prerequisite.cxx b/libbuild2/prerequisite.cxx
index 9d3a7af..cc41708 100644
--- a/libbuild2/prerequisite.cxx
+++ b/libbuild2/prerequisite.cxx
@@ -77,14 +77,14 @@ namespace build2
value& prerequisite::
append (const variable& var, const target_type& t)
{
- if (value* r = vars.find_to_modify (var).first)
+ if (value* r = vars.lookup_to_modify (var).first)
return *r;
value& r (assign (var)); // NULL.
// Note: pretty similar logic to target::append().
//
- lookup l (t.find_original (var).first);
+ lookup l (t.lookup_original (var).first);
if (l.defined ())
r = *l; // Copy value (and type) from the target/outer scope.