Minimal code changes to allow msvc compilation.

This commit is contained in:
Aaron Clauson
2017-11-10 07:06:49 +11:00
parent 1f4375f8e7
commit fbf327b138
8 changed files with 23 additions and 9 deletions

View File

@@ -41,7 +41,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);
}