]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TOF/AliTOFDecoderV2.cxx
mac compile fix
[u/mrichter/AliRoot.git] / TOF / AliTOFDecoderV2.cxx
index 3718cdaa4738370478f38714e42faab1dab29a76..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,6 @@ AliTOFDecoderV2::operator = (const AliTOFDecoderV2 &source)
 
 AliTOFDecoderV2::~AliTOFDecoderV2()
 {
-  if (fDecoderSummaryData)
     delete fDecoderSummaryData;
 }