From 782f2683d9476d227c67cff7db0bb392a0bf5f09 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Fri, 8 Sep 2006 15:06:09 +0200 Subject: Fixed cTimer::operator=() in case a cTimer variable is assigned to itself; implemented a copy constructor for cTimer --- timers.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'timers.h') diff --git a/timers.h b/timers.h index 8abc5238..e3d5450a 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