1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-12-09 10:31:02 +01:00

Merge pull request #14714 from NixOS/derived-path-operator

DerivedPath: Remove superfluous operator ==
This commit is contained in:
John Ericson 2025-12-05 15:46:28 +00:00 committed by GitHub
commit 926092f67f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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).