diff options
| author | practicalswift <[email protected]> | 2017-05-13 17:52:14 +0200 |
|---|---|---|
| committer | practicalswift <[email protected]> | 2017-05-13 17:59:09 +0200 |
| commit | 1b936f59264a4f4a867baece1e0ee4ec02f73cee (patch) | |
| tree | bee678b62d3ab3e0cda83144f0f2a8ddf25d777d /src/txdb.h | |
| parent | Merge #10308: [wallet] Securely erase potentially sensitive keys/values (diff) | |
| download | discoin-1b936f59264a4f4a867baece1e0ee4ec02f73cee.tar.xz discoin-1b936f59264a4f4a867baece1e0ee4ec02f73cee.zip | |
Replace boost::function with std::function (C++11)
Diffstat (limited to 'src/txdb.h')
| -rw-r--r-- | src/txdb.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/txdb.h b/src/txdb.h index d9214ba61..117e7201f 100644 --- a/src/txdb.h +++ b/src/txdb.h @@ -15,8 +15,6 @@ #include <utility> #include <vector> -#include <boost/function.hpp> - class CBlockIndex; class CCoinsViewDBCursor; class uint256; @@ -122,7 +120,7 @@ public: bool WriteTxIndex(const std::vector<std::pair<uint256, CDiskTxPos> > &list); bool WriteFlag(const std::string &name, bool fValue); bool ReadFlag(const std::string &name, bool &fValue); - bool LoadBlockIndexGuts(boost::function<CBlockIndex*(const uint256&)> insertBlockIndex); + bool LoadBlockIndexGuts(std::function<CBlockIndex*(const uint256&)> insertBlockIndex); }; #endif // BITCOIN_TXDB_H |