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