aboutsummaryrefslogtreecommitdiff
path: root/src/blockencodings.h
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-05-28 09:55:39 +0300
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-05-28 09:55:39 +0300
commit9cc6eb3c9e0eb1d5be26fb81cc5595c131fec8f4 (patch)
treec0aa1be553ac3713d8832edb6eeba7a08b223360 /src/blockencodings.h
parent971a468ccf0474ca00fa7d20278569b8fb11f0fb (diff)
Get rid of -Wthread-safety-precise warnings
Diffstat (limited to 'src/blockencodings.h')
-rw-r--r--src/blockencodings.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blockencodings.h b/src/blockencodings.h
index 9ec1beeaf7..326db1b4a7 100644
--- a/src/blockencodings.h
+++ b/src/blockencodings.h
@@ -126,7 +126,7 @@ class PartiallyDownloadedBlock {
protected:
std::vector<CTransactionRef> txn_available;
size_t prefilled_count = 0, mempool_count = 0, extra_count = 0;
- CTxMemPool* pool;
+ const CTxMemPool* pool;
public:
CBlockHeader header;
explicit PartiallyDownloadedBlock(CTxMemPool* poolIn) : pool(poolIn) {}