From 0b99b3aac10e38d624488978641d66fae3f41a28 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 9 Sep 2006 18:00:00 +0200 Subject: Version 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=()). --- timers.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'timers.h') diff --git a/timers.h b/timers.h index 8abc523..e3d5450 100644 --- a/timers.h +++ b/timers.h @@ -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; -- cgit v1.2.3