aboutsummaryrefslogtreecommitdiff
path: root/src/qt/recentrequeststablemodel.h
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2019-11-29 20:15:45 +0200
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2019-11-29 21:11:00 +0200
commitb66861e2e5e8a49e11e7489cf22c3007bc7082cc (patch)
treeb71f238783d5cc15c554def9afe8988b43632da6 /src/qt/recentrequeststablemodel.h
parentabb30de63f368c9875c3f2a4cfe91b1daf9412da (diff)
downloadbitcoin-b66861e2e5e8a49e11e7489cf22c3007bc7082cc.tar.xz
Fix comparison function signature
This commit fixes build on CentOS 7 with GCC 4.8.5
Diffstat (limited to 'src/qt/recentrequeststablemodel.h')
-rw-r--r--src/qt/recentrequeststablemodel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/recentrequeststablemodel.h b/src/qt/recentrequeststablemodel.h
index 30578b7a03..f5085f7268 100644
--- a/src/qt/recentrequeststablemodel.h
+++ b/src/qt/recentrequeststablemodel.h
@@ -45,7 +45,7 @@ class RecentRequestEntryLessThan
public:
RecentRequestEntryLessThan(int nColumn, Qt::SortOrder fOrder):
column(nColumn), order(fOrder) {}
- bool operator()(RecentRequestEntry &left, RecentRequestEntry &right) const;
+ bool operator()(const RecentRequestEntry& left, const RecentRequestEntry& right) const;
private:
int column;