forked from lix-project/lix
Fix clang compilation
This commit is contained in:
parent
57a4258426
commit
e8ca49f6ef
1 changed files with 1 additions and 1 deletions
|
@ -219,7 +219,7 @@ std::optional<FlakeRef> LockFile::isUnlocked() const
|
|||
visit(root);
|
||||
|
||||
for (auto & i : nodes) {
|
||||
if (i == root) continue;
|
||||
if (i == ref<const Node>(root)) continue;
|
||||
auto node = i.dynamic_pointer_cast<const LockedNode>();
|
||||
if (node && !node->lockedRef.input.isLocked())
|
||||
return node->lockedRef;
|
||||
|
|
Loading…
Reference in a new issue