mirror of
https://github.com/XRPLF/clio.git
synced 2026-08-23 21:50:53 +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:
@@ -86,7 +86,7 @@ UnsubscribeHandler::spec([[maybe_unused]] uint32_t apiVersion)
|
||||
}
|
||||
|
||||
UnsubscribeHandler::Result
|
||||
UnsubscribeHandler::process(Input input, Context const& ctx) const
|
||||
UnsubscribeHandler::process(Input const& input, Context const& ctx) const
|
||||
{
|
||||
if (input.streams)
|
||||
unsubscribeFromStreams(*(input.streams), ctx.session);
|
||||
|
||||
Reference in New Issue
Block a user