mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-13 08:23:45 +02:00
CGenericMenuActivate::Activate: tiny optimization
This commit is contained in:
@@ -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);
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user