(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

@@ -3887,7 +3887,7 @@ bool CMovieBrowser::showYTMenu(bool calledExternally)
m_settings.ytmode = newmode;
m_settings.ytsearch_history.push_front(search);
std::list<std::string>::iterator it = m_settings.ytsearch_history.begin();
it++;
++it;
while (it != m_settings.ytsearch_history.end()) {
if (*it == search)
it = m_settings.ytsearch_history.erase(it);