Merge pull request #11091 from NixOS/darwin-no-map-spaceship

Remove unused `operator<=>`'s that darwin can't generate
This commit is contained in:
Eelco Dolstra 2024-07-12 18:40:20 +02:00 committed by GitHub
commit 2a95a2d780
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 0 additions and 9 deletions

View file

@ -217,8 +217,6 @@ struct StoreReferences
* iff self is true. * iff self is true.
*/ */
size_t size() const; size_t size() const;
auto operator <=>(const StoreReferences &) const = default;
}; };
// This matches the additional info that we need for makeTextPath // This matches the additional info that we need for makeTextPath
@ -234,8 +232,6 @@ struct TextInfo
* disallowed * disallowed
*/ */
StorePathSet references; StorePathSet references;
auto operator <=>(const TextInfo &) const = default;
}; };
struct FixedOutputInfo struct FixedOutputInfo
@ -254,8 +250,6 @@ struct FixedOutputInfo
* References to other store objects or this one. * References to other store objects or this one.
*/ */
StoreReferences references; StoreReferences references;
auto operator <=>(const FixedOutputInfo &) const = default;
}; };
/** /**
@ -272,8 +266,6 @@ struct ContentAddressWithReferences
Raw raw; Raw raw;
auto operator <=>(const ContentAddressWithReferences &) const = default;
MAKE_WRAPPER_CONSTRUCTOR(ContentAddressWithReferences); MAKE_WRAPPER_CONSTRUCTOR(ContentAddressWithReferences);
/** /**

View file

@ -71,7 +71,6 @@ struct StoreReference
Params params; Params params;
bool operator==(const StoreReference & rhs) const = default; bool operator==(const StoreReference & rhs) const = default;
auto operator<=>(const StoreReference & rhs) const = default;
/** /**
* Render the whole store reference as a URI, including parameters. * Render the whole store reference as a URI, including parameters.