chore(3p/nix/libexpr): Delete Bindings::sort
This function does nothing anymore since the attributes are always in-order.
This commit is contained in:
parent
986a8f6b75
commit
68e6e92a20
14 changed files with 6 additions and 54 deletions
3
third_party/nix/src/libexpr/attr-set.cc
vendored
3
third_party/nix/src/libexpr/attr-set.cc
vendored
|
|
@ -14,7 +14,6 @@ void Bindings::push_back(const Attr& attr) {
|
|||
|
||||
size_t Bindings::size() { return attributes_.size(); }
|
||||
|
||||
void Bindings::sort() {}
|
||||
size_t Bindings::capacity() { return 0; }
|
||||
|
||||
bool Bindings::empty() { return attributes_.empty(); }
|
||||
|
|
@ -74,6 +73,4 @@ Value* EvalState::allocAttr(Value& vAttrs, const Symbol& name) {
|
|||
return v;
|
||||
}
|
||||
|
||||
// void Bindings::sort() { std::sort(begin(), end()); }
|
||||
|
||||
} // namespace nix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue