View difference between Paste ID: SbKnY8tC and hVPrvW1A
SHOW: | | - or go back to the newest paste.
1
for(std::vector<Circle*>::iterator circle = added_circles.begin(); circle != added_circles.end(); ++circle) {
2
	if ((*circle)->timesDrawn > maxTimesDrawn) {
3-
		added_circles.remove((*circle));
3+
		circle = added_circles.erase(circle);
4
	}
5
}