chore(3p/nix/libexpr): Delete Bindings::sort

This function does nothing anymore since the attributes are always
in-order.
This commit is contained in:
Vincent Ambo 2020-05-22 03:35:07 +01:00
parent 986a8f6b75
commit 68e6e92a20
14 changed files with 6 additions and 54 deletions

View file

@ -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