Skip to content

Commit 256efe2

Browse files
committed
DerivedPath: Remove superfluous operator ==
This is already implied by the fact that it inherits from std::variant.
1 parent 889daaf commit 256efe2

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/libstore/include/nix/store/derived-path.hh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -234,10 +234,6 @@ struct DerivedPath : _DerivedPathRaw
234234
return static_cast<const Raw &>(*this);
235235
}
236236

237-
bool operator==(const DerivedPath &) const = default;
238-
// TODO libc++ 16 (used by darwin) missing `std::set::operator <=>`, can't do yet.
239-
// auto operator <=> (const DerivedPath &) const = default;
240-
241237
/**
242238
* Get the store path this is ultimately derived from (by realising
243239
* and projecting outputs).

0 commit comments

Comments
 (0)