diff options
Diffstat (limited to 'src/net_processing.cpp')
| -rw-r--r-- | src/net_processing.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/net_processing.cpp b/src/net_processing.cpp index 99b96a988..20426eace 100644 --- a/src/net_processing.cpp +++ b/src/net_processing.cpp @@ -14,7 +14,6 @@ #include <init.h> #include <validation.h> #include <merkleblock.h> -#include <net.h> #include <netmessagemaker.h> #include <netbase.h> #include <policy/fees.h> @@ -30,7 +29,6 @@ #include <util.h> #include <utilmoneystr.h> #include <utilstrencodings.h> -#include <validationinterface.h> #if defined(NDEBUG) # error "Bitcoin cannot be compiled without assertions." @@ -41,7 +39,7 @@ std::atomic<int64_t> nTimeBestReceived(0); // Used only to inform the wallet of struct IteratorComparator { template<typename I> - bool operator()(const I& a, const I& b) + bool operator()(const I& a, const I& b) const { return &(*a) < &(*b); } |