]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/MUON/AliHLTMUONList.h
change some histograms and fix for pid in PWGLF train
[u/mrichter/AliRoot.git] / HLT / MUON / AliHLTMUONList.h
index d5e34bb4e9739938f20d7a3436e4789ec9bd2e2c..fe9ad7151485da9d01e934b170408239b71b07cc 100644 (file)
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
 
-/* $Id$ */
+// $Id$
 
 /**
  * @file   AliHLTMUONList.h
  * @author Artur Szostak <artursz@iafrica.com>
- * @date   
- * @brief  Declaration of a singly linked-list class which preallocates memory
- *         to give faster online performance.
+ * @date   29 May 2007
+ * @brief  Declaration of a singly linked-list class which preallocates memory to give faster online performance.
  */
 
 #include "AliHLTDataTypes.h"
@@ -61,6 +60,7 @@ public:
 
                ConstIterator& operator = (const ConstIterator& iter)
                {
+                       if (this==&iter) return *this;
                        fCurrent = iter.fCurrent;
                        return *this;
                }
@@ -125,6 +125,7 @@ public:
 
                Iterator& operator = (const Iterator& iter)
                {
+                       if (this==&iter) return *this;
                        ConstIterator::operator = (iter);
                        fPrevious = iter.fPrevious;
                        return *this;