mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-30 16:05:51 +00:00
Switch from C++17 to C++20
This commit is contained in:
@@ -1125,10 +1125,10 @@ bookStepEqual(Step const& step, ripple::Book const& book)
|
||||
bool const inXRP = isXRP(book.in.currency);
|
||||
bool const outXRP = isXRP(book.out.currency);
|
||||
if (inXRP && outXRP)
|
||||
return equalHelper<
|
||||
XRPAmount,
|
||||
XRPAmount,
|
||||
BookPaymentStep<XRPAmount, XRPAmount>>(step, book);
|
||||
{
|
||||
assert(0);
|
||||
return false; // no such thing as xrp/xrp book step
|
||||
}
|
||||
if (inXRP && !outXRP)
|
||||
return equalHelper<
|
||||
XRPAmount,
|
||||
|
||||
Reference in New Issue
Block a user