Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for(std::vector<Circle*>::iterator circle = added_circles.begin(); circle != added_circles.end(); ++circle) {
- if ((*circle)->timesDrawn > maxTimesDrawn) {
- circle = added_circles.erase(circle);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement