aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/blockchain.cpp
diff options
context:
space:
mode:
authorJorge Timón <[email protected]>2016-08-30 22:41:56 +0200
committerJorge Timón <[email protected]>2016-09-01 19:05:07 +0200
commitcdd79eb70fe163a92531a6f11c72bce6d228dac6 (patch)
tree9f615eba78aece231ab3fc37e0252c971b70ac7c /src/rpc/blockchain.cpp
parentMerge #8611: Reduce default number of blocks to check at startup (diff)
downloaddiscoin-cdd79eb70fe163a92531a6f11c72bce6d228dac6.tar.xz
discoin-cdd79eb70fe163a92531a6f11c72bce6d228dac6.zip
C++11: s/boost::scoped_ptr/std::unique_ptr/
Diffstat (limited to 'src/rpc/blockchain.cpp')
-rw-r--r--src/rpc/blockchain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/blockchain.cpp b/src/rpc/blockchain.cpp
index e3c32d905..0f3edde14 100644
--- a/src/rpc/blockchain.cpp
+++ b/src/rpc/blockchain.cpp
@@ -632,7 +632,7 @@ struct CCoinsStats
//! Calculate statistics about the unspent transaction output set
static bool GetUTXOStats(CCoinsView *view, CCoinsStats &stats)
{
- boost::scoped_ptr<CCoinsViewCursor> pcursor(view->Cursor());
+ std::unique_ptr<CCoinsViewCursor> pcursor(view->Cursor());
CHashWriter ss(SER_GETHASH, PROTOCOL_VERSION);
stats.hashBlock = pcursor->GetBestBlock();