mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
performance Prefer prefix ++/-- operators for non-primitive types.
This commit is contained in:
@@ -601,7 +601,7 @@ void CPlugins::startPlugin(int number,int /*param*/)
|
||||
bool CPlugins::hasPlugin(CPlugins::p_type_t type)
|
||||
{
|
||||
for (std::vector<plugin>::iterator it=plugin_list.begin();
|
||||
it!=plugin_list.end(); it++)
|
||||
it!=plugin_list.end(); ++it)
|
||||
{
|
||||
if (it->type == type && !it->hide)
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user