EffC++ warnings corrected.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 20 Mar 2008 10:26:21 +0000 (10:26 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 20 Mar 2008 10:26:21 +0000 (10:26 +0000)
TDPMjet/AliIonPDGCodes.cxx

index 9b812af..08aeaca 100644 (file)
 ClassImp(AliIonPDGCodes)
  
 //______________________________________________________________________________
-AliIonPDGCodes::AliIonPDGCodes()
+    AliIonPDGCodes::AliIonPDGCodes():
+       TObject(),
+       fNIon(200)
 { 
-  fNIon = 200;
-  for(Int_t i=0; i<fNIon; i++) fPDGCode[i]=0;
-
+    for(Int_t i=0; i<fNIon; i++) fPDGCode[i]=0;
 }
 
 AliIonPDGCodes::AliIonPDGCodes(const AliIonPDGCodes &/*PDGCodes*/)
-    :TObject()
+    :TObject(),
+     fNIon(200)
 {
 }