Fix all - 2 cppcheck performance hints
This commit is contained in:
@@ -100,7 +100,7 @@ void ColoredBar::draw()
|
||||
break;
|
||||
}
|
||||
|
||||
for (std::vector<GradientMilestone>::iterator i = bgGradient.begin(); i != bgGradient.end(); i++) {
|
||||
for (std::vector<GradientMilestone>::iterator i = bgGradient.begin(); i != bgGradient.end(); ++i) {
|
||||
bggradient->add_color_stop_rgb (i->position, i->r, i->g, i->b);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user