build: Fix GCC 14 compilation (#7981)

Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com>
This commit is contained in:
klemenfn
2026-08-11 13:24:56 +00:00
committed by GitHub
parent d43e5acaa7
commit a3147740f2
2 changed files with 9 additions and 0 deletions

View File

@@ -331,6 +331,13 @@ getLedger<>(std::shared_ptr<ReadView const>&, LedgerShortcut shortcut, Context c
template Status
getLedger<>(std::shared_ptr<ReadView const>&, uint256 const&, Context const&);
// explicit instantiation of ledgerFromSpecifier
template Status
ledgerFromSpecifier<>(
std::shared_ptr<ReadView const>&,
org::xrpl::rpc::v1::LedgerSpecifier const&,
Context const&);
// The previous version of the lookupLedger command would accept the
// "ledger_index" argument as a string and silently treat it as a request to
// return the current ledger which, while not strictly wrong, could cause a lot