CGenericMenuActivate::Activate: tiny optimization

Origin commit data
------------------
Branch: ni/coolstream
Commit: 26efbbccf3
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2014-01-19 (Sun, 19 Jan 2014)


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

------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2014-01-19 12:23:24 +01:00
parent ecc1bb03b7
commit 9f67acf417

View File

@@ -49,7 +49,7 @@ class CGenericMenuActivate
void Clear() { items.clear(); }
void Activate(bool enable)
{
for(std::vector<CMenuItem*>::iterator it = items.begin(); it != items.end(); it++)
for(std::vector<CMenuItem*>::iterator it = items.begin(); it != items.end(); ++it)
(*it)->setActive(enable);
}
};