diff options
Diffstat (limited to 'src/libexpr/flake/lockfile.hh')
-rw-r--r-- | src/libexpr/flake/lockfile.hh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libexpr/flake/lockfile.hh b/src/libexpr/flake/lockfile.hh index d1cbf7c06..6333a6875 100644 --- a/src/libexpr/flake/lockfile.hh +++ b/src/libexpr/flake/lockfile.hh @@ -35,11 +35,11 @@ struct LockedInputs /* Lock file information about a flake input. */ struct LockedInput : LockedInputs { - FlakeRef ref, originalRef; + FlakeRef lockedRef, originalRef; TreeInfo info; - LockedInput(const FlakeRef & ref, const FlakeRef & originalRef, const TreeInfo & info) - : ref(ref), originalRef(originalRef), info(info) + LockedInput(const FlakeRef & lockedRef, const FlakeRef & originalRef, const TreeInfo & info) + : lockedRef(lockedRef), originalRef(originalRef), info(info) { } LockedInput(const nlohmann::json & json); @@ -47,7 +47,7 @@ struct LockedInput : LockedInputs bool operator ==(const LockedInput & other) const { return - ref == other.ref + lockedRef == other.lockedRef && originalRef == other.originalRef && info == other.info && inputs == other.inputs; |