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
|
#ifndef GUI
|
||||||
// get show's ID
|
// get show's ID
|
||||||
string getShowId( string &show, const string &language ) {
|
string getShowId( const string &show, const string &language ) {
|
||||||
size_t order{}, pos{};
|
size_t order{}, pos{};
|
||||||
auto search_results = searchShow( show, language );
|
auto search_results = searchShow( show, language );
|
||||||
for ( const auto &x : search_results ) {
|
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,
|
void allSeasons( const string &path, string &show, const string &language,
|
||||||
const string &pattern, const size_t &flags );
|
const string &pattern, const size_t &flags );
|
||||||
|
|
||||||
string getShowId( string &show, const string &language );
|
string getShowId( const string &show, const string &language );
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user