about summary refs log tree commit diff
path: root/third_party/nix/src/libexpr/attr-set.hh
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2020-05-23T03·43+0100
committerVincent Ambo <tazjin@google.com>2020-05-23T05·18+0100
commitda4ca4e02f59d8d69f9996bd8de2f20f72d1d5ff (patch)
tree553fe5528a19aff727295a33a2911fd5bd267b74 /third_party/nix/src/libexpr/attr-set.hh
parent92792264f78ce95c08fdd802110ddad7956c0758 (diff)
chore(3p/nix/libexpr): Minor readability improvements in eval/value r/820
Diffstat (limited to 'third_party/nix/src/libexpr/attr-set.hh')
-rw-r--r--third_party/nix/src/libexpr/attr-set.hh2
1 files changed, 1 insertions, 1 deletions
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