diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2022-03-03 13:07:50 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2022-03-03 13:18:23 +0100 |
commit | ecff9d969acef5a08d3963d16eac83a5210de86e (patch) | |
tree | f000236f6711b20beb572ff7cb0efa22958747da /src/libexpr/value.hh | |
parent | 609779086301a600f4282a629d586bba6b6a485c (diff) |
printValue(): Don't show repeated values
Fixes #6157.
Diffstat (limited to 'src/libexpr/value.hh')
-rw-r--r-- | src/libexpr/value.hh | 4 |
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: |