Skip to content

Commit

Permalink
Fix clang compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
edolstra committed Feb 1, 2023
1 parent 57a4258 commit e8ca49f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libexpr/flake/lockfile.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e8ca49f

Please sign in to comment.