diff options
author | practicalswift <practicalswift@users.noreply.github.com> | 2017-08-09 15:35:43 +0200 |
---|---|---|
committer | practicalswift <practicalswift@users.noreply.github.com> | 2017-11-09 16:52:44 +0100 |
commit | fa6d1228e96c2b22a3b31bc738bb40d32ca4038b (patch) | |
tree | b2e921ac506fe5716e6693b2a0cd15bcb1c6337e /src/policy/fees.h | |
parent | 5a6f768896585c7077fca673d5f5410b1dd901d9 (diff) |
Use unique_ptr:s for {fee,short,long}Stats (TxConfirmStats)
Diffstat (limited to 'src/policy/fees.h')
-rw-r--r-- | src/policy/fees.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/policy/fees.h b/src/policy/fees.h index 6edaf28714..9c0937cbd6 100644 --- a/src/policy/fees.h +++ b/src/policy/fees.h @@ -245,9 +245,9 @@ private: std::map<uint256, TxStatsInfo> mapMemPoolTxs; /** Classes to track historical data on transaction confirmations */ - TxConfirmStats* feeStats; - TxConfirmStats* shortStats; - TxConfirmStats* longStats; + std::unique_ptr<TxConfirmStats> feeStats; + std::unique_ptr<TxConfirmStats> shortStats; + std::unique_ptr<TxConfirmStats> longStats; unsigned int trackedTxs; unsigned int untrackedTxs; |