diff options
author | Johann Friedrichs <johann.friedrichs@web.de> | 2021-05-22 13:06:17 +0200 |
---|---|---|
committer | Johann Friedrichs <johann.friedrichs@web.de> | 2021-05-22 13:06:17 +0200 |
commit | 43d7ff0fab23ce678a47a9b2ed3431515beeed25 (patch) | |
tree | f50fcb94f951f62d8178596ec4d58509f8a9c45e /conflictcheck.h | |
parent | fc309e3841d204554dba001b6f01fcc4c4cc0fc6 (diff) | |
download | vdr-plugin-epgsearch-43d7ff0fab23ce678a47a9b2ed3431515beeed25.tar.gz vdr-plugin-epgsearch-43d7ff0fab23ce678a47a9b2ed3431515beeed25.tar.bz2 |
Fix compiling with gcc11 - thanks to Martin Dummer
Diffstat (limited to 'conflictcheck.h')
-rw-r--r-- | conflictcheck.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/conflictcheck.h b/conflictcheck.h index 6da8972..2b9cda4 100644 --- a/conflictcheck.h +++ b/conflictcheck.h @@ -70,7 +70,7 @@ public: class TimerObjSort { public: - bool operator()(cConflictCheckTimerObj* a, cConflictCheckTimerObj* b) { + bool operator()(const cConflictCheckTimerObj* a, const cConflictCheckTimerObj* b) const { return (a->Compare(*b) < 0); } }; |