]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/mapping/AliMpNeighboursPadIterator.cxx
Cleanup Effective C++ warnings:
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpNeighboursPadIterator.cxx
index a4fb86be6625385925e22ef66927a7488009f399..e9c092112823f5fba45d1467bf627b439af04f9d 100755 (executable)
@@ -57,6 +57,7 @@ AliMpNeighboursPadIterator::AliMpNeighboursPadIterator(
   : AliMpVPadIterator(),
     fkSegmentation(segmentation),
     fCenterPad(centerPad),
+    fPads(),
     fIndex(fgkInvalidIndex)
 {
 /// Standard constructor, set *this to invalid position
@@ -67,7 +68,11 @@ AliMpNeighboursPadIterator::AliMpNeighboursPadIterator(
 //______________________________________________________________________________
 AliMpNeighboursPadIterator::AliMpNeighboursPadIterator(
                                  const AliMpNeighboursPadIterator& right)
-  : AliMpVPadIterator(right)
+  : AliMpVPadIterator(right),
+    fkSegmentation(0),
+    fCenterPad(AliMpPad::Invalid()),
+    fPads(),
+    fIndex(fgkInvalidIndex)
 {
 /// Copy constructor
 
@@ -108,7 +113,7 @@ AliMpNeighboursPadIterator::operator = (const AliMpNeighboursPadIterator& right)
   fIndex         = right.fIndex;
 #endif
 #ifdef WITH_ROOT
-  Fatal("operator=", "Not allowed assignment for TObjArray");
+  AliFatal("Not allowed assignment for TObjArray");
 #endif
 
   return *this;