mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +02:00
(performance) Prefer prefix ++/-- operators for non-primitive types
This commit is contained in:
@@ -1144,7 +1144,7 @@ bool CEventList::findEvents(void)
|
||||
if(!m_search_keyword.empty()){
|
||||
g_settings.epg_search_history.push_front(m_search_keyword);
|
||||
std::list<std::string>::iterator it = g_settings.epg_search_history.begin();
|
||||
it++;
|
||||
++it;
|
||||
while (it != g_settings.epg_search_history.end()) {
|
||||
if (*it == m_search_keyword)
|
||||
it = g_settings.epg_search_history.erase(it);
|
||||
|
Reference in New Issue
Block a user