From c6ef96a6aea24e64c70792d7eec9e5f9cc89821a Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 14 Oct 2007 10:09:08 +0200 Subject: Made the default copy ctor and the assign operator of cRecording private --- CONTRIBUTORS | 1 + HISTORY | 2 ++ recording.h | 4 +++- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 27a76519..d0d09033 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -1965,6 +1965,7 @@ Markus Hahn for suggesting that the "Back" key should restore the original string when pressed while editing a string item for fixing detection of Premiere NVOD channel links + for making the default copy ctor of cRecording private Jaroslaw Swierczynski for updating the Polish OSD texts and the fontosd-iso8859-2.c file diff --git a/HISTORY b/HISTORY index 1dade685..5c81412d 100644 --- a/HISTORY +++ b/HISTORY @@ -5481,3 +5481,5 @@ Video Disk Recorder Revision History - Removed a duplicate ',' from the ca_ES.po file (thanks to Thomas Günther). - Added the 'ß' character to the "allowed charcaters" in the de_DE.po file (suggested by Thomas Günther). +- Made the default copy ctor of cRecording private (thanks to Markus Hahn). + Same for the assign operator. diff --git a/recording.h b/recording.h index 045bb24f..fb616f68 100644 --- a/recording.h +++ b/recording.h @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: recording.h 1.57 2007/06/17 12:53:05 kls Exp $ + * $Id: recording.h 1.58 2007/10/14 10:06:48 kls Exp $ */ #ifndef __RECORDING_H @@ -72,6 +72,8 @@ private: mutable char *name; mutable int fileSizeMB; cRecordingInfo *info; + cRecording(const cRecording&); // can't copy cRecording + cRecording &operator=(const cRecording &); // can't assign cRecording static char *StripEpisodeName(char *s); char *SortName(void) const; int GetResume(void) const; -- cgit v1.2.3