From 82828bfcb6718ea35af054e3ae470026e74e12aa Mon Sep 17 00:00:00 2001 From: selsta Date: Tue, 16 Nov 2021 05:21:25 +0100 Subject: [PATCH] cryptonote_core: fix unused lambda warning --- src/cryptonote_core/tx_pool.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cryptonote_core/tx_pool.cpp b/src/cryptonote_core/tx_pool.cpp index 5629db3e6..6fe5a54ac 100644 --- a/src/cryptonote_core/tx_pool.cpp +++ b/src/cryptonote_core/tx_pool.cpp @@ -1581,7 +1581,7 @@ namespace cryptonote // get all txids std::vector txes; - m_blockchain.for_all_txpool_txes([this, &txes](const crypto::hash &txid, const txpool_tx_meta_t &meta, const cryptonote::blobdata_ref*) { + m_blockchain.for_all_txpool_txes([&txes](const crypto::hash &txid, const txpool_tx_meta_t &meta, const cryptonote::blobdata_ref*) { if (!meta.pruned) // skip pruned txes txes.push_back({txid, meta}); return true;