TV_rename: add const

This commit is contained in:
zvon 2020-01-18 22:19:17 +01:00
parent 90f45464ac
commit 8b4a21fb53
2 changed files with 2 additions and 2 deletions

View File

@ -81,7 +81,7 @@ searchShow( const string &show, const string &language ) {
#ifndef GUI
// get show's ID
string getShowId( string &show, const string &language ) {
string getShowId( const string &show, const string &language ) {
size_t order{}, pos{};
auto search_results = searchShow( show, language );
for ( const auto &x : search_results ) {

View File

@ -57,7 +57,7 @@ void multipleSeasons( const string &path, string &show,
void allSeasons( const string &path, string &show, const string &language,
const string &pattern, const size_t &flags );
string getShowId( string &show, const string &language );
string getShowId( const string &show, const string &language );
#endif