chore(3p/nix/libexpr): Remove dead code from attribute sets
These bits are no longer required with the hashmap-backed implementation of attribute sets. Change-Id: I8b936d8d438a00bad4ccf8e0b4dd719c559ce8c2 Reviewed-on: https://cl.tvl.fyi/c/depot/+/912 Tested-by: BuildkiteCI Reviewed-by: edef <edef@edef.eu>
This commit is contained in:
parent
ca03175e31
commit
4455f28e42
3 changed files with 2 additions and 17 deletions
2
third_party/nix/src/libexpr/attr-set.cc
vendored
2
third_party/nix/src/libexpr/attr-set.cc
vendored
|
|
@ -36,8 +36,6 @@ void Bindings::insert_or_assign(const Attr& attr) {
|
|||
|
||||
size_t Bindings::size() { return attributes_.size(); }
|
||||
|
||||
size_t Bindings::capacity() { return 0; }
|
||||
|
||||
bool Bindings::empty() { return attributes_.empty(); }
|
||||
|
||||
std::vector<const Attr*> Bindings::lexicographicOrder() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue