Backport fix from #3754 branch
This commit is contained in:
parent
71e4c9c505
commit
a9c0ea30bf
|
@ -36,10 +36,10 @@ struct PathReferences
|
|||
template<typename Ref>
|
||||
StorePathSet PathReferences<Ref>::referencesPossiblyToSelf(const Ref & self) const
|
||||
{
|
||||
StorePathSet references { references };
|
||||
StorePathSet refs { references };
|
||||
if (hasSelfReference)
|
||||
references.insert(self);
|
||||
return references;
|
||||
refs.insert(self);
|
||||
return refs;
|
||||
}
|
||||
|
||||
template<typename Ref>
|
||||
|
|
Loading…
Reference in a new issue