[simplify a bit
Andreas Röver <roever@users.sourceforge.net>**20060128175059] {
hunk ./src/lib/puzzle.cpp 967
-
-class remove_deleted_shape {
-public:
-  int idx;
-  remove_deleted_shape(int i) : idx(i) {}
-  void operator()(problem_c *p) { p->shapeIdRemoved(idx); }
-};
-
hunk ./src/lib/puzzle.cpp 976
-  for_each(problems.begin(), problems.end(), remove_deleted_shape(idx));
+  for (unsigned int i = 0; i < problems.size(); i++)
+    problems[i]->shapeIdRemoved(idx);
}
