aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2021-11-26 23:00:31 -0600
committerluigi1111 <luigi1111w@gmail.com>2021-11-26 23:00:31 -0600
commit9c4c28e4f650bfdf60e94a7b7c7c19d839c00d35 (patch)
treec62dbda672c70bdedca56bb2f6acda834fca3548
parentMerge pull request #8055 (diff)
parentcryptonote_core: fix unused lambda warning (diff)
downloadmonero-9c4c28e4f650bfdf60e94a7b7c7c19d839c00d35.tar.xz
Merge pull request #8065
82828bf cryptonote_core: fix unused lambda warning (selsta)
-rw-r--r--src/cryptonote_core/tx_pool.cpp2
1 files changed, 1 insertions, 1 deletions
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<tx_entry_t> 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;