From 3ce44330cca9dbc4314feebb27403ebc3175b6c2 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 28 Mar 2016 09:14:31 +0200 Subject: New variable architecture --- build2/utility.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'build2/utility.cxx') diff --git a/build2/utility.cxx b/build2/utility.cxx index 4c1acd3..29e8b1e 100644 --- a/build2/utility.cxx +++ b/build2/utility.cxx @@ -147,18 +147,18 @@ namespace build2 append_options (cstrings& args, const lookup& l) { if (l) - append_options (args, as (*l)); + append_options (args, cast (*l)); } void hash_options (sha256& csum, const lookup& l) { if (l) - hash_options (csum, as (*l)); + hash_options (csum, cast (*l)); } void - append_options (cstrings& args, const const_strings_value& sv) + append_options (cstrings& args, const strings& sv) { if (!sv.empty ()) { @@ -170,7 +170,7 @@ namespace build2 } void - hash_options (sha256& csum, const const_strings_value& sv) + hash_options (sha256& csum, const strings& sv) { for (const string& s: sv) csum.append (s); @@ -181,7 +181,7 @@ namespace build2 { if (l) { - for (const string& s: as (*l)) + for (const string& s: cast (*l)) { if (s == option) return true; -- cgit v1.1