summaryrefslogtreecommitdiff
path: root/plugins
diff options
authorMC Return <mc.return@gmx.net>2012-07-30 18:43:13 +0200
committerMC Return <mc.return@gmx.net>2012-07-30 18:43:13 +0200
commitdc9a5ced0607997d8eedc3015ee2a3e5eec10948 (patch)
tree96e2e9c2f6dd077a03dcdc3862557f81aee265fd /plugins
parentc41d793d9a71b79a972a3bcd88c47cd6590e5258 (diff)
Fixed possible performance issue in unity-switcher-accessible.cpp by replacement of postfix ++ operator with prefix one
(bzr r2528.1.11)
Diffstat (limited to 'plugins')
-rw-r--r--plugins/unityshell/src/unity-switcher-accessible.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/unityshell/src/unity-switcher-accessible.cpp b/plugins/unityshell/src/unity-switcher-accessible.cpp
index e4e2a968f..189e7d703 100644
--- a/plugins/unityshell/src/unity-switcher-accessible.cpp
+++ b/plugins/unityshell/src/unity-switcher-accessible.cpp
@@ -404,7 +404,7 @@ create_children(UnitySwitcherAccessible* self)
if (switcher_model == NULL)
return;
- for (it = switcher_model->begin(); it != switcher_model->end(); it++)
+ for (it = switcher_model->begin(); it != switcher_model->end(); ++it)
{
child = *it;
child_accessible = unity_launcher_icon_accessible_new(child.GetPointer());