Merge #8629: C++11: s/boost::scoped_ptr/std::unique_ptr/

cdd79eb C++11: s/boost::scoped_ptr/std::unique_ptr/ (Jorge Timón)
This commit is contained in:
Wladimir J. van der Laan
2016-09-02 09:56:16 +02:00
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();