From da4ca4e02f59d8d69f9996bd8de2f20f72d1d5ff Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sat, 23 May 2020 04:43:16 +0100 Subject: chore(3p/nix/libexpr): Minor readability improvements in eval/value --- third_party/nix/src/libexpr/attr-set.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'third_party/nix/src/libexpr/attr-set.hh') diff --git a/third_party/nix/src/libexpr/attr-set.hh b/third_party/nix/src/libexpr/attr-set.hh index 6b68b4664a09..cdfe9e41d5af 100644 --- a/third_party/nix/src/libexpr/attr-set.hh +++ b/third_party/nix/src/libexpr/attr-set.hh @@ -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 -- cgit 1.4.1