Skip to content

Commit

Permalink
Fix linux compile
Browse files Browse the repository at this point in the history
  • Loading branch information
gregtatcam committed Jan 2, 2024
1 parent 07b4f80 commit 0dfbf2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ripple/protocol/Book.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ operator==(Book const& lhs, Book const& rhs)

/** Strict weak ordering. */
/** @{ */
[[nodiscard]] inline constexpr std::weak_ordering
[[nodiscard]] inline std::weak_ordering
operator<=>(Book const& lhs, Book const& rhs)
{
if (auto const c{lhs.in <=> rhs.in}; c != 0)
Expand Down
2 changes: 1 addition & 1 deletion src/ripple/protocol/Issue.h
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ operator==(Issue const& lhs, Issue const& rhs)

/** Strict weak ordering. */
/** @{ */
[[nodiscard]] inline constexpr std::weak_ordering
[[nodiscard]] inline std::weak_ordering
operator<=>(Issue const& lhs, Issue const& rhs)
{
if (auto const c{lhs.asset().asset() <=> rhs.asset().asset()}; c != 0)
Expand Down

0 comments on commit 0dfbf2d

Please sign in to comment.