mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-22 20:55:52 +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:
@@ -51,7 +51,7 @@
|
||||
namespace rpc {
|
||||
|
||||
LedgerDataHandler::Result
|
||||
LedgerDataHandler::process(Input input, Context const& ctx) const
|
||||
LedgerDataHandler::process(Input const& input, Context const& ctx) const
|
||||
{
|
||||
// marker must be int if outOfOrder is true
|
||||
if (input.outOfOrder && input.marker)
|
||||
|
||||
Reference in New Issue
Block a user