From f7e5ac3208a40ceed8bc3bd05fe81bffc774bbf5 Mon Sep 17 00:00:00 2001 From: kamel5 Date: Fri, 22 Mar 2019 13:21:18 +0100 Subject: Some cosmetic changes --- switchtimer.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'switchtimer.h') diff --git a/switchtimer.h b/switchtimer.h index 867a821..b661fdd 100644 --- a/switchtimer.h +++ b/switchtimer.h @@ -12,7 +12,15 @@ public: int announceOnly; #if VDRVERSNUM >= 20305 cSwitchTimer(const cSwitchTimer &SwitchTimer) { *this = SwitchTimer; }; - cSwitchTimer& operator= (const cSwitchTimer &SwitchTimer); + cSwitchTimer& operator= (const cSwitchTimer &SwitchTimer) + { + this->eventID = SwitchTimer.eventID; + this->startTime = SwitchTimer.startTime; + this->channelID = SwitchTimer.channelID; + this->switchMinsBefore = SwitchTimer.switchMinsBefore; + this->announceOnly = SwitchTimer.announceOnly; + return *this; + }; #endif cSwitchTimer(void); cSwitchTimer(const cEvent* Event); -- cgit v1.2.3