aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/value.hh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2022-03-03 13:07:50 +0100
committerEelco Dolstra <edolstra@gmail.com>2022-03-03 13:18:23 +0100
commitecff9d969acef5a08d3963d16eac83a5210de86e (patch)
treef000236f6711b20beb572ff7cb0efa22958747da /src/libexpr/value.hh
parent609779086301a600f4282a629d586bba6b6a485c (diff)
printValue(): Don't show repeated values
Fixes #6157.
Diffstat (limited to 'src/libexpr/value.hh')
-rw-r--r--src/libexpr/value.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libexpr/value.hh b/src/libexpr/value.hh
index 3fdff71a5..84c4d09f8 100644
--- a/src/libexpr/value.hh
+++ b/src/libexpr/value.hh
@@ -114,8 +114,8 @@ struct Value
private:
InternalType internalType;
-friend std::string showType(const Value & v);
-friend void printValue(std::ostream & str, std::set<const Value *> & active, const Value & v);
+ friend std::string showType(const Value & v);
+ friend void printValue(std::ostream & str, std::set<const Value *> & seen, const Value & v);
public: