From 0ca9dbc9413585d6937310d289264b09c5537836 Mon Sep 17 00:00:00 2001 From: nilsen Date: Thu, 2 May 2002 18:48:58 +0000 Subject: [PATCH] Fixed bug in version number of AliITSpListItem and removed delete[] for fixed length arrays. --- ITS/AliITSpList.cxx | 3 --- ITS/AliITSpList.h | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/ITS/AliITSpList.cxx b/ITS/AliITSpList.cxx index 8a79db915fd..5b663a3f319 100644 --- a/ITS/AliITSpList.cxx +++ b/ITS/AliITSpList.cxx @@ -305,9 +305,6 @@ AliITSpListItem::~AliITSpListItem(){ // Return: // A properly destroyed AliITSpListItem class. - if(!fTrack) delete [] fTrack; - if(!fHits) delete [] fHits; - if(!fSignal) delete [] fSignal; } //______________________________________________________________________ AliITSpListItem& AliITSpListItem::operator=(const AliITSpListItem &source){ diff --git a/ITS/AliITSpList.h b/ITS/AliITSpList.h index fbf54b19b73..ec1b948b32f 100644 --- a/ITS/AliITSpList.h +++ b/ITS/AliITSpList.h @@ -79,7 +79,7 @@ class AliITSpListItem: public TObject { Double_t fNoise; // Total noise, coupling, ... Double_t fSignalAfterElect; // Signal after electronics - ClassDef(AliITSpListItem,2) // Item list of signals and track numbers + ClassDef(AliITSpListItem,3) // Item list of signals and track numbers }; // Input and output functions for standard C++ input/output. ostream & operator<<(ostream &os,AliITSpListItem &source); -- 2.39.3