diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-04-15 14:10:50 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-04-15 14:10:50 +0200 |
commit | 6535bf6175af32e2514faf75d2742424751a783b (patch) | |
tree | 21312b28ffe2bbb459a57e80a1f8eec498327d9f /build/b.cxx | |
parent | ad720fabd468974e3909f62a0f4e4e3cf0d03aef (diff) |
New variables architecture
Now operator[] is only used for lookup.
Diffstat (limited to 'build/b.cxx')
-rw-r--r-- | build/b.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build/b.cxx b/build/b.cxx index 3fe9d20..2e36003 100644 --- a/build/b.cxx +++ b/build/b.cxx @@ -468,7 +468,7 @@ main (int argc, char* argv[]) // See if the bootstrap process set/changed src_root. // { - auto v (rs.variables["src_root"]); + auto v (rs.assign ("src_root")); if (v) { @@ -528,7 +528,7 @@ main (int argc, char* argv[]) // Why don't we support it? Because things are already complex // enough here. // - if (auto v = rs.ro_variables ()["subprojects"]) + if (auto v = rs.vars["subprojects"]) { for (const name& n: v.as<const list_value&> ()) { |