Switch from C++17 to C++20

This commit is contained in:
seelabs
2021-11-16 22:31:34 -05:00
committed by Nik Bougalis
parent 47dec467ea
commit 92d35e54c7
18 changed files with 75 additions and 121 deletions

View File

@@ -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,