mirror of
https://github.com/XRPLF/clio.git
synced 2026-07-27 09:00:27 +00:00
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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user