From 962f83b1e551cc683f1052d32cb79b969e65af5f Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 16 Mar 2020 08:57:29 +0200 Subject: Rename all find*(variable) to lookup*(variable) Now we consistently use term "lookup" for variable value lookup. At some point we should also rename type lookup to binding and get rid of all the lookup_type aliases. --- libbuild2/file.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libbuild2/file.cxx') diff --git a/libbuild2/file.cxx b/libbuild2/file.cxx index 7903918..fb5b68a 100644 --- a/libbuild2/file.cxx +++ b/libbuild2/file.cxx @@ -547,7 +547,7 @@ namespace build2 temp_scope tmp (ctx.global_scope.rw ()); p.parse_variable (l, tmp, var, tt); - value* v (tmp.vars.find_to_modify (var).first); + value* v (tmp.vars.lookup_to_modify (var).first); assert (v != nullptr); // Steal the value, the scope is going away. -- cgit v1.1