aboutsummaryrefslogtreecommitdiff
path: root/src/txdb.h
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2017-05-13 17:52:14 +0200
committerpracticalswift <practicalswift@users.noreply.github.com>2017-05-13 17:59:09 +0200
commit1b936f59264a4f4a867baece1e0ee4ec02f73cee (patch)
treebee678b62d3ab3e0cda83144f0f2a8ddf25d777d /src/txdb.h
parent94e52273f30fc9f3f1a7b58778ed21781bb2a744 (diff)
Replace boost::function with std::function (C++11)
Diffstat (limited to 'src/txdb.h')
-rw-r--r--src/txdb.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/txdb.h b/src/txdb.h
index d9214ba618..117e7201fb 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