aboutsummaryrefslogtreecommitdiff
path: root/src/rpc
diff options
context:
space:
mode:
authorJorge Timón <jtimon@jtimon.cc>2016-08-30 22:41:56 +0200
committerJorge Timón <jtimon@jtimon.cc>2016-09-01 19:05:07 +0200
commitcdd79eb70fe163a92531a6f11c72bce6d228dac6 (patch)
tree9f615eba78aece231ab3fc37e0252c971b70ac7c /src/rpc
parent2b23dbaee5b88d7237144e14eff01391e2cc201d (diff)
C++11: s/boost::scoped_ptr/std::unique_ptr/
Diffstat (limited to 'src/rpc')
-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 e3c32d905a..0f3edde145 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();