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
+1 -1
View File
@@ -173,7 +173,7 @@ bool CBlockTreeDB::ReadFlag(const std::string &name, bool &fValue) {
bool CBlockTreeDB::LoadBlockIndexGuts(boost::function<CBlockIndex*(const uint256&)> insertBlockIndex)
{
boost::scoped_ptr<CDBIterator> pcursor(NewIterator());
std::unique_ptr<CDBIterator> pcursor(NewIterator());
pcursor->Seek(make_pair(DB_BLOCK_INDEX, uint256()));