diff options
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 f7039ba..6092936 100644 --- a/conflictcheck.h +++ b/conflictcheck.h @@ -109,7 +109,7 @@ class cConflictCheckDevice return prio; }; int CardIndex(void) const { if (device) return device->CardIndex(); else return devicenr;} - bool Receiving() const { return (recTimers.size() > 0); } + bool Receiving() const { return !recTimers.empty(); } bool IsTunedTo (const cChannel* Channel) const { for(std::set<cConflictCheckTimerObj*,TimerObjSort>::iterator it = recTimers.begin(); it != recTimers.end(); it++) |