summaryrefslogtreecommitdiff
path: root/dvbdevice.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2013-02-16 13:06:16 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2013-02-16 13:06:16 +0100
commitbb47d52f95f054db9e90f440929ea5a840456c87 (patch)
treea440216e6c394907041be51249ad5382769f0b69 /dvbdevice.c
parentcd2ed6cfe750186948a090c47dba42fdaeea8a6a (diff)
downloadvdr-bb47d52f95f054db9e90f440929ea5a840456c87.tar.gz
vdr-bb47d52f95f054db9e90f440929ea5a840456c87.tar.bz2
Added missing 'const' to cDevice::HasProgramme() and cDevice::HasLock()
Diffstat (limited to 'dvbdevice.c')
-rw-r--r--dvbdevice.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dvbdevice.c b/dvbdevice.c
index af374c5d..05a70962 100644
--- a/dvbdevice.c
+++ b/dvbdevice.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: dvbdevice.c 2.78 2013/02/14 13:21:34 kls Exp $
+ * $Id: dvbdevice.c 2.79 2013/02/16 12:47:59 kls Exp $
*/
#include "dvbdevice.h"
@@ -1535,7 +1535,7 @@ bool cDvbDevice::SetChannelDevice(const cChannel *Channel, bool LiveView)
return true;
}
-bool cDvbDevice::HasLock(int TimeoutMs)
+bool cDvbDevice::HasLock(int TimeoutMs) const
{
return dvbTuner ? dvbTuner->Locked(TimeoutMs) : false;
}