1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-12-08 18:11:02 +01:00

DerivedPath: Remove superfluous operator ==

This is already implied by the fact that it inherits from
std::variant.
This commit is contained in:
Eelco Dolstra 2025-12-05 10:25:22 +01:00
parent a595348f7c
commit 953e7b8af4

View file

@ -234,10 +234,6 @@ struct DerivedPath : _DerivedPathRaw
return static_cast<const Raw &>(*this);
}
bool operator==(const DerivedPath &) const = default;
// TODO libc++ 16 (used by darwin) missing `std::set::operator <=>`, can't do yet.
// auto operator <=> (const DerivedPath &) const = default;
/**
* Get the store path this is ultimately derived from (by realising
* and projecting outputs).