mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 23:18:14 +01:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user