[Cmake-commits] [cmake-commits] hoffman committed SystemTools.cxx 1.242 1.243

cmake-commits at cmake.org cmake-commits at cmake.org
Fri Jun 5 13:17:03 EDT 2009


Update of /cvsroot/CMake/CMake/Source/kwsys
In directory public:/mounts/ram/cvs-serv20136

Modified Files:
	SystemTools.cxx 
Log Message:
ENH: fix warning on borland 


Index: SystemTools.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/kwsys/SystemTools.cxx,v
retrieving revision 1.242
retrieving revision 1.243
diff -C 2 -d -r1.242 -r1.243
*** SystemTools.cxx	5 Jun 2009 16:01:30 -0000	1.242
--- SystemTools.cxx	5 Jun 2009 17:17:01 -0000	1.243
***************
*** 406,420 ****
  {
  public:
!   ~kwsysDeletingCharVector()
!     {
!       for(kwsys_stl::vector<char*>::iterator i = this->begin();
!           i != this->end(); ++i)
!         {
!         delete []*i;
!         }
!     }
  };
  
!         
  bool SystemTools::PutEnv(const char* value)
  { 
--- 406,420 ----
  {
  public:
!   ~kwsysDeletingCharVector();
  };
  
! kwsysDeletingCharVector::~kwsysDeletingCharVector()
! {
!   for(kwsys_stl::vector<char*>::iterator i = this->begin();
!       i != this->end(); ++i)
!     {
!     delete []*i;
!     }
! }
  bool SystemTools::PutEnv(const char* value)
  { 



More information about the Cmake-commits mailing list