Skip to content

Commit

Permalink
Merge pull request NixOS#11091 from NixOS/darwin-no-map-spaceship
Browse files Browse the repository at this point in the history
Remove unused `operator<=>`'s that darwin can't generate
  • Loading branch information
edolstra authored Jul 12, 2024
2 parents 6c5d2a1 + 11a6db5 commit 2a95a2d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
8 changes: 0 additions & 8 deletions src/libstore/content-address.hh
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,6 @@ struct StoreReferences
* iff self is true.
*/
size_t size() const;

auto operator <=>(const StoreReferences &) const = default;
};

// This matches the additional info that we need for makeTextPath
Expand All @@ -234,8 +232,6 @@ struct TextInfo
* disallowed
*/
StorePathSet references;

auto operator <=>(const TextInfo &) const = default;
};

struct FixedOutputInfo
Expand All @@ -254,8 +250,6 @@ struct FixedOutputInfo
* References to other store objects or this one.
*/
StoreReferences references;

auto operator <=>(const FixedOutputInfo &) const = default;
};

/**
Expand All @@ -272,8 +266,6 @@ struct ContentAddressWithReferences

Raw raw;

auto operator <=>(const ContentAddressWithReferences &) const = default;

MAKE_WRAPPER_CONSTRUCTOR(ContentAddressWithReferences);

/**
Expand Down
1 change: 0 additions & 1 deletion src/libstore/store-reference.hh
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ struct StoreReference
Params params;

bool operator==(const StoreReference & rhs) const = default;
auto operator<=>(const StoreReference & rhs) const = default;

/**
* Render the whole store reference as a URI, including parameters.
Expand Down

0 comments on commit 2a95a2d

Please sign in to comment.