chore(3p/nix/libexpr): Minor readability improvements in eval/value

This commit is contained in:
Vincent Ambo 2020-05-23 04:43:16 +01:00
parent 92792264f7
commit da4ca4e02f
4 changed files with 7 additions and 19 deletions

View file

@ -21,7 +21,7 @@ struct Attr {
Attr(Symbol name, Value* value, Pos* pos = &noPos)
: name(name), value(value), pos(pos){};
Attr() : pos(&noPos){};
bool operator<(const Attr& a) const { return name < a.name; }
bool operator<(const Attr& other) const { return name < other.name; }
};
// TODO: remove this, it only exists briefly while I get rid of the