ENH: fix warning on borland
This commit is contained in:
parent
fdff8eb300
commit
0de79d4b2d
|
@ -405,7 +405,10 @@ bool SystemTools::GetEnv(const char* key, kwsys_stl::string& result)
|
||||||
class kwsysDeletingCharVector : public kwsys_stl::vector<char*>
|
class kwsysDeletingCharVector : public kwsys_stl::vector<char*>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
~kwsysDeletingCharVector()
|
~kwsysDeletingCharVector();
|
||||||
|
};
|
||||||
|
|
||||||
|
kwsysDeletingCharVector::~kwsysDeletingCharVector()
|
||||||
{
|
{
|
||||||
for(kwsys_stl::vector<char*>::iterator i = this->begin();
|
for(kwsys_stl::vector<char*>::iterator i = this->begin();
|
||||||
i != this->end(); ++i)
|
i != this->end(); ++i)
|
||||||
|
@ -413,9 +416,6 @@ public:
|
||||||
delete []*i;
|
delete []*i;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
bool SystemTools::PutEnv(const char* value)
|
bool SystemTools::PutEnv(const char* value)
|
||||||
{
|
{
|
||||||
static kwsysDeletingCharVector localEnvironment;
|
static kwsysDeletingCharVector localEnvironment;
|
||||||
|
|
Loading…
Reference in New Issue