diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-04-08 16:24:14 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-04-08 16:24:14 +0200 |
commit | b4ceb7b6aecb7492b28d7a0f6c53fa657a2cd2e5 (patch) | |
tree | 0452343b865b9c87b1f833fa1e2f4d90b249f643 /build/config | |
parent | 6e2e56e8f70faed666a83797cebb96e844650a79 (diff) |
Inherit list_value directly from names
Diffstat (limited to 'build/config')
-rw-r--r-- | build/config/operation.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/build/config/operation.cxx b/build/config/operation.cxx index e62d313..85d0d07 100644 --- a/build/config/operation.cxx +++ b/build/config/operation.cxx @@ -123,8 +123,8 @@ namespace build // const list_value& lv (dynamic_cast<const list_value&> (*pval)); - ofs << var.name << " = " << lv.data << endl; - //text << var.name << " = " << lv.data; + ofs << var.name << " = " << lv << endl; + //text << var.name << " = " << lv; } else { @@ -180,7 +180,7 @@ namespace build // if (auto v = root.ro_variables ()["subprojects"]) { - for (const name& n: v.as<const list_value&> ().data) + for (const name& n: v.as<const list_value&> ()) { path out_nroot (out_root / n.dir); scope& nroot (scopes.find (out_nroot)); @@ -274,7 +274,7 @@ namespace build // if (auto v = root.ro_variables ()["subprojects"]) { - for (const name& n: v.as<const list_value&> ().data) + for (const name& n: v.as<const list_value&> ()) { // Create and bootstrap subproject's root scope. // |