VDR 1.7.5: Missing const in cRecording::FramesPerSecond()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux