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/eval.hh | |
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/eval.hh')
-rw-r--r-- | third_party/nix/src/libexpr/eval.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/nix/src/libexpr/eval.hh b/third_party/nix/src/libexpr/eval.hh index 055c4fda3702..bc07f9507087 100644 --- a/third_party/nix/src/libexpr/eval.hh +++ b/third_party/nix/src/libexpr/eval.hh @@ -258,7 +258,7 @@ class EvalState { Value* allocAttr(Value& vAttrs, const Symbol& name); - static Bindings* allocBindings(size_t capacity); + [[deprecated]] static Bindings* allocBindings(size_t capacity); void mkList(Value& v, size_t size); void mkAttrs(Value& v, size_t capacity); |