mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
neutrino use check empty() instead of length() or size()
This commit is contained in:
@@ -611,7 +611,7 @@ int CEpgData::show(const t_channel_id channel_id, uint64_t a_id, time_t* a_start
|
||||
}
|
||||
|
||||
// Show genre information
|
||||
if (epgData.contentClassification.length()> 0)
|
||||
if (!epgData.contentClassification.empty())
|
||||
processTextToArray(std::string(g_Locale->getText(LOCALE_EPGVIEWER_GENRE)) + ": " + GetGenre(epgData.contentClassification[0])); // UTF-8
|
||||
// processTextToArray( epgData.userClassification.c_str() );
|
||||
|
||||
|
Reference in New Issue
Block a user