SIservices.hpp/SIsections.hpp: switch functions to const

This commit is contained in:
2015-01-12 22:54:18 +01:00
parent c92d4fad1a
commit f15cf6f57d
2 changed files with 2 additions and 2 deletions

View File

@@ -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; }
};

View File

@@ -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; }