diff options
Diffstat (limited to 'switchtimer.h')
-rw-r--r-- | switchtimer.h | 10 |
1 files changed, 9 insertions, 1 deletions
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); |