summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2007-10-14 10:09:08 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2007-10-14 10:09:08 +0200
commitc6ef96a6aea24e64c70792d7eec9e5f9cc89821a (patch)
tree3375e9a7c2df1aeeb76b12f69da7c8250eb98065
parent72983f3e4c753f40110fbec9ffdb0e0dd6231a91 (diff)
downloadvdr-c6ef96a6aea24e64c70792d7eec9e5f9cc89821a.tar.gz
vdr-c6ef96a6aea24e64c70792d7eec9e5f9cc89821a.tar.bz2
Made the default copy ctor and the assign operator of cRecording private
-rw-r--r--CONTRIBUTORS1
-rw-r--r--HISTORY2
-rw-r--r--recording.h4
3 files changed, 6 insertions, 1 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index 27a76519..d0d09033 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -1965,6 +1965,7 @@ Markus Hahn <mhahn@reel-multimedia.com>
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 <swiergot@gmail.com>
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;