various warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10549 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
4bb0e64213
commit
3463ced917
5 changed files with 22 additions and 17 deletions
|
|
@ -23,7 +23,7 @@ Zoo::~Zoo()
|
|||
IterType iter = this->animals.begin();
|
||||
IterType end = this->animals.end();
|
||||
|
||||
for(iter; iter != end; ++iter)
|
||||
for(; iter != end; ++iter)
|
||||
{
|
||||
Animal* animal = *iter;
|
||||
delete animal;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue