#include <TMath.h>
#include <TObjArray.h>
-#include <iostream.h>
+#include <Riostream.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
}
//____________________________________________
-Int_t AliITSHNode::Compare(TObject *obj)
+Int_t AliITSHNode::Compare(const TObject *obj) const
{
// function called by Sort method of TObjArray
printf("HTable destructor !\n");
if (fCodeLen) delete[] fCodeLen;
if (fCode) delete [] fCode;
- delete fHNodes;
+ if (fHNodes) {
+ fHNodes->Delete();
+ delete fHNodes;
+ }
}