From f15cf6f57d6ba59098299ab4774d1e9c66617da8 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Mon, 12 Jan 2015 22:54:18 +0100 Subject: [PATCH] SIservices.hpp/SIsections.hpp: switch functions to const --- src/eitd/SIsections.hpp | 2 +- src/eitd/SIservices.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/eitd/SIsections.hpp b/src/eitd/SIsections.hpp index b537cadaf..f5d652c31 100644 --- a/src/eitd/SIsections.hpp +++ b/src/eitd/SIsections.hpp @@ -194,7 +194,7 @@ class SIsectionTIME parsed = 0; parse(buf); } - time_t getTime() { return dvbtime; } + time_t getTime() const { return dvbtime; } int is_parsed(void) const { return parsed; } }; diff --git a/src/eitd/SIservices.hpp b/src/eitd/SIservices.hpp index 186a58861..ee2c1d395 100644 --- a/src/eitd/SIservices.hpp +++ b/src/eitd/SIservices.hpp @@ -121,7 +121,7 @@ public: int eitScheduleFlag(void) { return (int)flags.EIT_schedule_flag; } int eitPresentFollowingFlag(void) { return (int)flags.EIT_present_following_flag; } #endif - int runningStatus(void) { return (int)flags.running_status; } + int runningStatus(void) const { return (int)flags.running_status; } #if 0 // unused int freeCAmode(void) { return (int)flags.free_CA_mode; }