aboutsummaryrefslogtreecommitdiff
path: root/build2/target.txx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-03-31 10:59:45 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-03-31 10:59:45 +0200
commit7253ffee27f6cae34e63a72b2d3d10db10571ecc (patch)
treec86b321ad4d2bcb05eda451ad3cae5ac8429cabf /build2/target.txx
parent6417a4e6af2b7732ec0da6af24f1a56f7cdada3f (diff)
Clean up variable lookup interfaces
Diffstat (limited to 'build2/target.txx')
-rw-r--r--build2/target.txx2
1 files changed, 1 insertions, 1 deletions
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.
//