diff options
| author | MarcoFalke <[email protected]> | 2018-06-24 15:51:54 -0400 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2018-06-24 15:49:09 -0400 |
| commit | faca0a862558cf17777f36c38452ba770227cbc9 (patch) | |
| tree | d0e52a92b77377e6e480ca8244de497458668355 /src | |
| parent | Merge #13506: Qt: load wallet in UI after possible init aborts (diff) | |
| download | discoin-faca0a862558cf17777f36c38452ba770227cbc9.tar.xz discoin-faca0a862558cf17777f36c38452ba770227cbc9.zip | |
doc: Clarify that mempool txiter is const_iterator
Diffstat (limited to 'src')
| -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 bda812b42..ebfcf36e1 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 { |