diff options
author | practicalswift <practicalswift@users.noreply.github.com> | 2017-08-09 16:07:22 +0200 |
---|---|---|
committer | practicalswift <practicalswift@users.noreply.github.com> | 2017-11-09 16:52:44 +0100 |
commit | 8ccf1bb0c31108762e47f28d9d592e8d4c788564 (patch) | |
tree | df1f221b3c3e7d28b743b99b259eb964cde4dff7 /src/net.h | |
parent | 73db0635a38744b09058b590ac246af5499630c9 (diff) |
Use unique_ptr for sem{Addnode,Outbound} (CSemaphore)
Diffstat (limited to 'src/net.h')
-rw-r--r-- | src/net.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -399,8 +399,8 @@ private: /** Services this instance offers */ ServiceFlags nLocalServices; - CSemaphore *semOutbound; - CSemaphore *semAddnode; + std::unique_ptr<CSemaphore> semOutbound; + std::unique_ptr<CSemaphore> semAddnode; int nMaxConnections; int nMaxOutbound; int nMaxAddnode; |