]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUON2DMapIteratorByI.cxx
In Mapping/macros:
[u/mrichter/AliRoot.git] / MUON / AliMUON2DMapIteratorByI.cxx
index 37df45d802a0f44dfe41b8a42f4984e4b9b26651..a9c99734ba23a88ab433a4895344cb9c4bbc857d 100644 (file)
@@ -51,16 +51,12 @@ fCurrentI(-1)
 }
 
 //_____________________________________________________________________________
-TIterator
-AliMUON2DMapIteratorByI::operator=(const TIterator& rhs)
+AliMUON2DMapIteratorByI
+AliMUON2DMapIteratorByI::operator=(const TIterator& /*rhs*/)
 {
-  /// overriden operator= (imposed by Root's definition of TIterator::operator= ?)
+  // overriden operator= (imposed by Root's definition of TIterator::operator= ?)
   
-  if ( this != &rhs && rhs.IsA() == AliMUON2DMapIteratorByI::Class() ) 
-  {
-    //    const AliMUON2DMapIteratorByI& rhs1 = static_cast<const AliMUON2DMapIteratorByI&>(rhs);
-    AliFatalGeneral("operator=(TIterator&)",""); // as in copy ctor
-  }
+  AliFatalGeneral("operator=(TIterator&)",""); // as in copy ctor
   return *this;
 }