TV_rename: add const
This commit is contained in:
parent
90f45464ac
commit
8b4a21fb53
@ -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 ) {
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user