diff options
author | Jorge Timón <jtimon@jtimon.cc> | 2016-08-30 22:41:56 +0200 |
---|---|---|
committer | Jorge Timón <jtimon@jtimon.cc> | 2016-09-01 19:05:07 +0200 |
commit | cdd79eb70fe163a92531a6f11c72bce6d228dac6 (patch) | |
tree | 9f615eba78aece231ab3fc37e0252c971b70ac7c /src/txdb.cpp | |
parent | 2b23dbaee5b88d7237144e14eff01391e2cc201d (diff) |
C++11: s/boost::scoped_ptr/std::unique_ptr/
Diffstat (limited to 'src/txdb.cpp')
-rw-r--r-- | src/txdb.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/txdb.cpp b/src/txdb.cpp index 078c29def3..4f11c7b951 100644 --- a/src/txdb.cpp +++ b/src/txdb.cpp @@ -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())); |