[PHP] Remove useless shadowed variable in example
This commit is contained in:
parent
7a21da90fd
commit
07f3637f06
1 changed files with 0 additions and 1 deletions
|
|
@ -39,7 +39,6 @@ double Square::perimeter(void) {
|
||||||
}
|
}
|
||||||
|
|
||||||
ShapeContainer::~ShapeContainer() {
|
ShapeContainer::~ShapeContainer() {
|
||||||
iterator i=shapes.begin();
|
|
||||||
for( iterator i = shapes.begin(); i != shapes.end(); ++i ) {
|
for( iterator i = shapes.begin(); i != shapes.end(); ++i ) {
|
||||||
delete *i;
|
delete *i;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue