From 7253ffee27f6cae34e63a72b2d3d10db10571ecc Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 31 Mar 2016 10:59:45 +0200 Subject: Clean up variable lookup interfaces --- build2/target.txx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build2/target.txx') diff --git a/build2/target.txx b/build2/target.txx index b7d41f2..fe21016 100644 --- a/build2/target.txx +++ b/build2/target.txx @@ -22,7 +22,7 @@ namespace build2 { // Include target type/pattern-specific variables. // - if (auto l = s.lookup (tk, var)) + if (auto l = s.find (var, tk)) { // Help the user here and strip leading '.' from the extension. // -- cgit v1.1