Commit 3a66681b authored by Bill Hoffman's avatar Bill Hoffman
Browse files

ENH: fix warning on borland

parent 743eb4dd
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment