Skip to content

Commit ef79536

Browse files
authored
rpcdaemon: fix clang tidy after PR 2098 (#2099)
1 parent ab8dc53 commit ef79536

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

silkworm/rpc/ethdb/kv/remote_transaction.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ RemoteTransaction::RemoteTransaction(
3030
BlockProvider block_provider,
3131
BlockNumberFromTxnHashProvider block_number_from_txn_hash_provider)
3232
: BaseTransaction(state_cache),
33-
block_provider_{block_provider},
34-
block_number_from_txn_hash_provider_{block_number_from_txn_hash_provider},
33+
block_provider_{std::move(block_provider)},
34+
block_number_from_txn_hash_provider_{std::move(block_number_from_txn_hash_provider)},
3535
tx_rpc_{stub, grpc_context} {}
3636

3737
Task<void> RemoteTransaction::open() {

0 commit comments

Comments
 (0)