aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2017-08-09 16:14:37 +0200
committerpracticalswift <practicalswift@users.noreply.github.com>2017-11-09 16:53:34 +0100
commitf72cbf9ba970e997be84fb7b20795c6b9c62fb42 (patch)
tree383f6395e4b38df1b8acb6c97b16b9a90c6be3a6 /src/net.h
parent8ccf1bb0c31108762e47f28d9d592e8d4c788564 (diff)
Use unique_ptr for pfilter (CBloomFilter)
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.h b/src/net.h
index 668e92c004..8cb00dd5a5 100644
--- a/src/net.h
+++ b/src/net.h
@@ -648,7 +648,7 @@ public:
bool fSentAddr;
CSemaphoreGrant grantOutbound;
CCriticalSection cs_filter;
- CBloomFilter* pfilter;
+ std::unique_ptr<CBloomFilter> pfilter;
std::atomic<int> nRefCount;
const uint64_t nKeyedNetGroup;