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/cxx/compile.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build2/cxx/compile.cxx') diff --git a/build2/cxx/compile.cxx b/build2/cxx/compile.cxx index c4e9cee..914cd10 100644 --- a/build2/cxx/compile.cxx +++ b/build2/cxx/compile.cxx @@ -236,7 +236,7 @@ namespace build2 auto test = [&s, &n, &e, &var] (const target_type& tt) -> const target_type* { - if (auto l = s.lookup (tt, n, var)) + if (auto l = s.find (var, tt, n)) if (cast (l) == e) return &tt; -- cgit v1.1