Skip to content

Commit

Permalink
declare same variables with const
Browse files Browse the repository at this point in the history
  • Loading branch information
kfb77 committed Aug 9, 2020
1 parent ef700a9 commit daa043d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion epgsearch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ bool operator<( SearchTimer const& left, SearchTimer const& right )
bool CheckEpgsearchVersion()
{
/* @winni: Falls Du an der Versionsnummer Anpassungen vornehmen willst, mach das bitte in livefeatures.h ganz unten. Danke */
Features< features::epgsearch >& f = LiveFeatures< features::epgsearch >();
const Features< features::epgsearch >& f = LiveFeatures< features::epgsearch >();
if ( f.Loaded() ) {
if ( !f.Recent() )
throw HtmlError( tr("Required minimum version of epgsearch: ") + string( f.MinVersion() ));
Expand Down
2 changes: 1 addition & 1 deletion timers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ namespace vdrlive {
{
}

void TimerManager::UpdateTimer( int timerId, const char* remote, const char* oldRemote, int flags, tChannelID& channel, string const& weekdays,
void TimerManager::UpdateTimer( int timerId, const char* remote, const char* oldRemote, int flags, const tChannelID& channel, string const& weekdays,
string const& day, int start, int stop, int priority, int lifetime, string const& title, string const& aux )
{
cMutexLock lock( this );
Expand Down
2 changes: 1 addition & 1 deletion timers.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ namespace vdrlive {
public:
SortedTimers& GetTimers() { return m_timers; }

void UpdateTimer( int timerId, const char* remote, const char* oldRemote, int flags, tChannelID& channel, std::string const& weekdays,
void UpdateTimer( int timerId, const char* remote, const char* oldRemote, int flags, const tChannelID& channel, std::string const& weekdays,
std::string const& day, int start, int stop, int priority, int lifetime, std::string const& title, std::string const& aux );

void DelTimer( int timerId, const char* remote);
Expand Down

0 comments on commit daa043d

Please sign in to comment.