]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TOF/AliTOFDecoderV2.cxx
update tof support specific version of TOF RunParams OCDB object
[u/mrichter/AliRoot.git] / TOF / AliTOFDecoderV2.cxx
index 75e33f756903cad47ceff705e301e8fa4cb0dd31..edb99ca2c67446f79b47d9283edded22ef34884a 100644 (file)
@@ -170,6 +170,8 @@ AliTOFDecoderV2 &
 AliTOFDecoderV2::operator = (const AliTOFDecoderV2 &source)
 {
   //operator =
+  if (this == &source) return *this;
+  TObject::operator=(source);
   fRawReader = source.fRawReader;
   fVerbose = source.fVerbose;
   fLogErrors = source.fLogErrors;
@@ -186,7 +188,7 @@ AliTOFDecoderV2::operator = (const AliTOFDecoderV2 &source)
 
 AliTOFDecoderV2::~AliTOFDecoderV2()
 {
-  delete fDecoderSummaryData;
+    delete fDecoderSummaryData;
 }
 
 //_________________________________________________________________