diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2023-02-01 20:34:44 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2023-02-01 20:34:44 +0100 |
commit | e8ca49f6efeb54a9e1ed624f658e6790a3121ac9 (patch) | |
tree | bb7b11bf4343980c15afb51271561f4000b7a531 /src/libexpr/flake/lockfile.cc | |
parent | 57a4258426260da9faf8c1ffd003edac330d50b8 (diff) |
Fix clang compilation
Diffstat (limited to 'src/libexpr/flake/lockfile.cc')
-rw-r--r-- | src/libexpr/flake/lockfile.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/flake/lockfile.cc b/src/libexpr/flake/lockfile.cc index a3ed90e1f..a74e68c9c 100644 --- a/src/libexpr/flake/lockfile.cc +++ b/src/libexpr/flake/lockfile.cc @@ -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; |