mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-11 08:46:16 +02:00
Backport fix from #3754 branch
This commit is contained in:
parent
71e4c9c505
commit
a9c0ea30bf
1 changed files with 3 additions and 3 deletions
|
@ -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