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/dbwrapper.cpp | |
parent | 2b23dbaee5b88d7237144e14eff01391e2cc201d (diff) |
C++11: s/boost::scoped_ptr/std::unique_ptr/
Diffstat (limited to 'src/dbwrapper.cpp')
-rw-r--r-- | src/dbwrapper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dbwrapper.cpp b/src/dbwrapper.cpp index 09c68fbe55..4fa06135d2 100644 --- a/src/dbwrapper.cpp +++ b/src/dbwrapper.cpp @@ -117,7 +117,7 @@ std::vector<unsigned char> CDBWrapper::CreateObfuscateKey() const bool CDBWrapper::IsEmpty() { - boost::scoped_ptr<CDBIterator> it(NewIterator()); + std::unique_ptr<CDBIterator> it(NewIterator()); it->SeekToFirst(); return !(it->Valid()); } |