[vdr] VDR 1.7.5: Missing const in cRecording::FramesPerSecond()

Joachim Wilke joachim.wilke at gmail.com
Sun Apr 19 10:57:49 CEST 2009


Adapting my plugins to VDR 1.7.5 I found a possible missing const in cRecording:

--- recording.h	(revision 157)
+++ recording.h	(working copy)
@@ -109,7 +109,7 @@
   const char *PrefixFileName(char Prefix);
   int HierarchyLevels(void) const;
   void ResetResume(void) const;
-  double FramesPerSecond(void) { return framesPerSecond; }
+  double FramesPerSecond(void) const { return framesPerSecond; }
   bool IsNew(void) const { return GetResume() <= 0; }
   bool IsEdited(void) const;
   bool IsPesRecording(void) const { return isPesRecording; }

-- 
Best Regards,
Joachim.



More information about the vdr mailing list