From 69801c4e23f877359118e55ed291737f4fbece04 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 28 Mar 2016 09:45:20 +0200 Subject: Add variable cast from lookup --- build2/utility.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'build2/utility.cxx') diff --git a/build2/utility.cxx b/build2/utility.cxx index 29e8b1e..71aed79 100644 --- a/build2/utility.cxx +++ b/build2/utility.cxx @@ -147,14 +147,14 @@ namespace build2 append_options (cstrings& args, const lookup& l) { if (l) - append_options (args, cast (*l)); + append_options (args, cast (l)); } void hash_options (sha256& csum, const lookup& l) { if (l) - hash_options (csum, cast (*l)); + hash_options (csum, cast (l)); } void @@ -181,7 +181,7 @@ namespace build2 { if (l) { - for (const string& s: cast (*l)) + for (const string& s: cast (l)) { if (s == option) return true; -- cgit v1.1