refactor(3p/nix/libexpr): Use absl::btree_map::merge for '//'
Instead of doing some sort of inline merge-sort of the two attribute sets, use the attribute sets merge function. This commit alone does not build and is not supposed to.
This commit is contained in:
parent
28e347effe
commit
ee4637e3a2
3 changed files with 14 additions and 22 deletions
3
third_party/nix/src/libexpr/attr-set.hh
vendored
3
third_party/nix/src/libexpr/attr-set.hh
vendored
|
|
@ -50,6 +50,9 @@ class Bindings {
|
|||
iterator begin();
|
||||
iterator end();
|
||||
|
||||
// Merge values from other into the current attribute
|
||||
void merge(Bindings* other);
|
||||
|
||||
// ???
|
||||
[[deprecated]] void sort();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue