Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2014
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. for(std::vector<Circle*>::iterator circle = added_circles.begin(); circle != added_circles.end(); ++circle) {
  2.     if ((*circle)->timesDrawn > maxTimesDrawn) {
  3.         circle = added_circles.erase(circle);
  4.     }
  5. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement