ENH: fix warning on borland

This commit is contained in:
Bill Hoffman 2009-06-05 13:17:01 -04:00
parent fdff8eb300
commit 0de79d4b2d
1 changed files with 9 additions and 9 deletions

View File

@ -405,17 +405,17 @@ bool SystemTools::GetEnv(const char* key, kwsys_stl::string& result)
class kwsysDeletingCharVector : public kwsys_stl::vector<char*>
{
public:
~kwsysDeletingCharVector()
{
for(kwsys_stl::vector<char*>::iterator i = this->begin();
i != this->end(); ++i)
{
delete []*i;
}
}
~kwsysDeletingCharVector();
};
kwsysDeletingCharVector::~kwsysDeletingCharVector()
{
for(kwsys_stl::vector<char*>::iterator i = this->begin();
i != this->end(); ++i)
{
delete []*i;
}
}
bool SystemTools::PutEnv(const char* value)
{
static kwsysDeletingCharVector localEnvironment;