C++11: s/boost::scoped_ptr/std::unique_ptr/

This commit is contained in:
Jorge Timón
2016-08-30 22:41:56 +02:00
parent 2b23dbaee5
commit cdd79eb70f
9 changed files with 11 additions and 12 deletions

View File

@@ -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();