(performance) Prefer prefix ++/-- operators for non-primitive types

Origin commit data
------------------
Branch: ni/coolstream
Commit: 7db16952f6
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-02-16 (Tue, 16 Feb 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2016-02-16 13:02:10 +01:00
parent 28c7efa851
commit 5f8422c29a
5 changed files with 10 additions and 10 deletions

View File

@@ -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);