diff options
| author | Daniel Kraft <[email protected]> | 2016-04-30 19:25:00 +0200 |
|---|---|---|
| committer | Daniel Kraft <[email protected]> | 2016-04-30 19:25:00 +0200 |
| commit | f7c4f79f07c777801db7dc047cd45eaf2bba81c9 (patch) | |
| tree | 15886406c7762bd4556f92df63e44354df37c71e /src/txmempool.h | |
| parent | Merge #7807: Fixed miner test values, gave constants for less error-prone val... (diff) | |
| download | discoin-f7c4f79f07c777801db7dc047cd45eaf2bba81c9.tar.xz discoin-f7c4f79f07c777801db7dc047cd45eaf2bba81c9.zip | |
[trivial] Add missing const qualifiers.
Add some const qualifiers to references that are not modified and should
be marked as const.
Diffstat (limited to 'src/txmempool.h')
| -rw-r--r-- | src/txmempool.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/txmempool.h b/src/txmempool.h index de4ba0b37..d17e3322d 100644 --- a/src/txmempool.h +++ b/src/txmempool.h @@ -672,10 +672,10 @@ private: class CCoinsViewMemPool : public CCoinsViewBacked { protected: - CTxMemPool &mempool; + const CTxMemPool& mempool; public: - CCoinsViewMemPool(CCoinsView *baseIn, CTxMemPool &mempoolIn); + CCoinsViewMemPool(CCoinsView* baseIn, const CTxMemPool& mempoolIn); bool GetCoins(const uint256 &txid, CCoins &coins) const; bool HaveCoins(const uint256 &txid) const; }; |