Fix comparison function signature

This commit fixes build on CentOS 7 with GCC 4.8.5
This commit is contained in:
Hennadii Stepanov
2019-11-29 20:15:45 +02:00
parent abb30de63f
commit b66861e2e5
2 changed files with 5 additions and 6 deletions

View File

@@ -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;