chore(3p/nix/libexpr): Minor readability improvements in eval/value
This commit is contained in:
parent
92792264f7
commit
da4ca4e02f
4 changed files with 7 additions and 19 deletions
2
third_party/nix/src/libexpr/attr-set.hh
vendored
2
third_party/nix/src/libexpr/attr-set.hh
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue