Commit a971f484 by Francois Gygi

added (void*) cast to delete statements (for xlC 7.0).


git-svn-id: http://qboxcode.org/svn/qb/trunk@268 cba15fb0-1239-40c8-b417-11db7ca47a34
parent b830761a
......@@ -3,7 +3,7 @@
// ChargeDensity.C
//
////////////////////////////////////////////////////////////////////////////////
// $Id: ChargeDensity.C,v 1.8 2004-09-14 22:24:11 fgygi Exp $
// $Id: ChargeDensity.C,v 1.9 2004-10-15 18:04:11 fgygi Exp $
#include "ChargeDensity.h"
#include "Basis.h"
......@@ -87,11 +87,11 @@ wf_(wf)
////////////////////////////////////////////////////////////////////////////////
ChargeDensity::~ChargeDensity(void)
{
delete vcontext_;
delete vbasis_;
delete vft_;
delete (void*) vcontext_;
delete (void*) vbasis_;
delete (void*) vft_;
for ( int ikp = 0; ikp < ft_.size(); ikp++ )
delete ft_[ikp];
delete (void*) ft_[ikp];
}
////////////////////////////////////////////////////////////////////////////////
......
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