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/context.cxx | |
parent | ad720fabd468974e3909f62a0f4e4e3cf0d03aef (diff) |
New variables architecture
Now operator[] is only used for lookup.
Diffstat (limited to 'build/context.cxx')
-rw-r--r-- | build/context.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build/context.cxx b/build/context.cxx index d87ce11..958fb98 100644 --- a/build/context.cxx +++ b/build/context.cxx @@ -40,8 +40,8 @@ namespace build global_scope = &scopes[dir_path ("/")]; #endif - global_scope->variables["work"] = work; - global_scope->variables["home"] = home; + global_scope->assign ("work") = work; + global_scope->assign ("home") = home; } fs_status<mkdir_status> |