diff options
author | Vincent Ambo <tazjin@google.com> | 2020-05-21T18·20+0100 |
---|---|---|
committer | Vincent Ambo <tazjin@google.com> | 2020-05-21T18·21+0100 |
commit | 28e347effe1ba4325fc485e920bda45c838e0450 (patch) | |
tree | de476a8bd0138bce979c14bab45c6f22714585a1 /third_party/nix/src/libexpr/nixexpr.cc | |
parent | 1bb9cd7749748ee7019efcde834bbdb2b56e68e1 (diff) |
refactor(3p/nix/libexpr): Use absl::btree_map for AttrSets r/799
This is the first step towards replacing the implementation of attribute sets with an absl::btree_map. Currently many access are done using array offsets and pointer arithmetic, so this change is currently causing Nix to fail in various ways.
Diffstat (limited to 'third_party/nix/src/libexpr/nixexpr.cc')
-rw-r--r-- | third_party/nix/src/libexpr/nixexpr.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/nix/src/libexpr/nixexpr.cc b/third_party/nix/src/libexpr/nixexpr.cc index 49b4a7ea419b..3d454d266ff0 100644 --- a/third_party/nix/src/libexpr/nixexpr.cc +++ b/third_party/nix/src/libexpr/nixexpr.cc @@ -285,7 +285,7 @@ void ExprOpHasAttr::bindVars(const StaticEnv& env) { void ExprAttrs::bindVars(const StaticEnv& env) { const StaticEnv* dynamicEnv = &env; - StaticEnv newEnv(false, &env); + StaticEnv newEnv(/* isWith = */ false, &env); if (recursive) { dynamicEnv = &newEnv; |