diff options
author | MarcoFalke <falke.marco@gmail.com> | 2018-06-24 15:51:54 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2018-06-24 15:49:09 -0400 |
commit | faca0a862558cf17777f36c38452ba770227cbc9 (patch) | |
tree | d0e52a92b77377e6e480ca8244de497458668355 /src/txmempool.h | |
parent | 6579d80572d2d33aceabbd3db45a6a9f809aa5e3 (diff) |
doc: Clarify that mempool txiter is const_iterator
Diffstat (limited to 'src/txmempool.h')
-rw-r--r-- | src/txmempool.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/txmempool.h b/src/txmempool.h index bda812b42f..ebfcf36e11 100644 --- a/src/txmempool.h +++ b/src/txmempool.h @@ -486,7 +486,7 @@ public: mutable CCriticalSection cs; indexed_transaction_set mapTx GUARDED_BY(cs); - typedef indexed_transaction_set::nth_index<0>::type::iterator txiter; + using txiter = indexed_transaction_set::nth_index<0>::type::const_iterator; std::vector<std::pair<uint256, txiter> > vTxHashes; //!< All tx witness hashes/entries in mapTx, in random order struct CompareIteratorByHash { |