From fbf327b13868861c2877c5754caf5a9816f2603c Mon Sep 17 00:00:00 2001 From: Aaron Clauson Date: Fri, 10 Nov 2017 07:06:49 +1100 Subject: Minimal code changes to allow msvc compilation. --- src/net_processing.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net_processing.cpp') diff --git a/src/net_processing.cpp b/src/net_processing.cpp index 52387b32f..82b09f5f1 100644 --- a/src/net_processing.cpp +++ b/src/net_processing.cpp @@ -41,7 +41,7 @@ std::atomic nTimeBestReceived(0); // Used only to inform the wallet of struct IteratorComparator { template - bool operator()(const I& a, const I& b) + bool operator()(const I& a, const I& b) const { return &(*a) < &(*b); } -- cgit v1.2.3