perf: Pass const reference Input into handlers (#2409)

Fix https://github.com/XRPLF/clio/issues/2265

---------

Co-authored-by: Sergey Kuznetsov <skuznetsov@ripple.com>
This commit is contained in:
emrearıyürek
2025-08-11 13:21:32 +02:00
committed by GitHub
parent 226d386be2
commit 5eea26d9ac
63 changed files with 66 additions and 65 deletions

View File

@@ -49,7 +49,7 @@
namespace rpc {
AccountObjectsHandler::Result
AccountObjectsHandler::process(AccountObjectsHandler::Input input, Context const& ctx) const
AccountObjectsHandler::process(AccountObjectsHandler::Input const& input, Context const& ctx) const
{
auto const range = sharedPtrBackend_->fetchLedgerRange();
ASSERT(range.has_value(), "AccountObject's ledger range must be available");