aboutsummaryrefslogtreecommitdiff
path: root/build2/utility.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-03-28 09:14:31 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-03-28 16:03:35 +0200
commit3ce44330cca9dbc4314feebb27403ebc3175b6c2 (patch)
tree8c1f27442f3b2dafaec3ba50baaca3d5fd63dca7 /build2/utility.cxx
parent9d0d078ff297138622cd2f3f1076f5984395e42b (diff)
New variable architecture
Diffstat (limited to 'build2/utility.cxx')
-rw-r--r--build2/utility.cxx10
1 files changed, 5 insertions, 5 deletions
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<const value>& l)
{
if (l)
- append_options (args, as<strings> (*l));
+ append_options (args, cast<strings> (*l));
}
void
hash_options (sha256& csum, const lookup<const value>& l)
{
if (l)
- hash_options (csum, as<strings> (*l));
+ hash_options (csum, cast<strings> (*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<strings> (*l))
+ for (const string& s: cast<strings> (*l))
{
if (s == option)
return true;