[PHP] Remove useless shadowed variable in example

This commit is contained in:
Olly Betts 2022-02-03 22:57:03 +13:00
commit 07f3637f06

View file

@ -39,7 +39,6 @@ double Square::perimeter(void) {
}
ShapeContainer::~ShapeContainer() {
iterator i=shapes.begin();
for( iterator i = shapes.begin(); i != shapes.end(); ++i ) {
delete *i;
}