diff options
author | Klaus Schmidinger <kls (at) cadsoft (dot) de> | 2006-09-09 18:00:00 +0200 |
---|---|---|
committer | Klaus Schmidinger <kls (at) cadsoft (dot) de> | 2006-09-09 18:00:00 +0200 |
commit | 0b99b3aac10e38d624488978641d66fae3f41a28 (patch) | |
tree | f178a06e8f4436fc2bc203777b7eb65ba508cedb /timers.h | |
parent | c49ca5abb73cbc11447da5d961e106025dc927d0 (diff) | |
download | vdr-patch-lnbsharing-0b99b3aac10e38d624488978641d66fae3f41a28.tar.gz vdr-patch-lnbsharing-0b99b3aac10e38d624488978641d66fae3f41a28.tar.bz2 |
Version 1.4.2-2vdr-1.4.2-2
- Fixed cTimer::operator=() in case a cTimer variable is assigned to itself (thanks
to Alexander Rieger).
- Implemented a copy constructor for cTimer (thanks to Udo Richter for reporting that
an assignment in svdrp.c didn't use the cTimer::operator=()).
Diffstat (limited to 'timers.h')
-rw-r--r-- | timers.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: timers.h 1.28 2006/04/08 12:41:44 kls Exp $ + * $Id: timers.h 1.29 2006/09/04 17:07:39 kls Exp $ */ #ifndef __TIMERS_H @@ -44,6 +44,7 @@ private: public: cTimer(bool Instant = false, bool Pause = false, cChannel *Channel = NULL); cTimer(const cEvent *Event); + cTimer(const cTimer &Timer); virtual ~cTimer(); cTimer& operator= (const cTimer &Timer); virtual int Compare(const cListObject &ListObject) const; |