mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-02 10:21:10 +02:00
(performance) Prefer prefix ++/-- operators for non-primitive types
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user