From 1b936f59264a4f4a867baece1e0ee4ec02f73cee Mon Sep 17 00:00:00 2001 From: practicalswift Date: Sat, 13 May 2017 17:52:14 +0200 Subject: Replace boost::function with std::function (C++11) --- src/txdb.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/txdb.h') 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 #include -#include - class CBlockIndex; class CCoinsViewDBCursor; class uint256; @@ -122,7 +120,7 @@ public: bool WriteTxIndex(const std::vector > &list); bool WriteFlag(const std::string &name, bool fValue); bool ReadFlag(const std::string &name, bool &fValue); - bool LoadBlockIndexGuts(boost::function insertBlockIndex); + bool LoadBlockIndexGuts(std::function insertBlockIndex); }; #endif // BITCOIN_TXDB_H -- cgit v1.2.3