]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSIntMapNode.cxx
fixed the tainted variables
[u/mrichter/AliRoot.git] / ITS / AliITSIntMapNode.cxx
index 9863a1f0e9a7eb701026d053d46b7f5257d3683c..20a007848a86ebb9d989db6e5b8991f79645eff8 100644 (file)
@@ -9,19 +9,22 @@
 AliITSIntMapNode::AliITSIntMapNode():
   fKey(0),
   fVal(0),
-  fNext(0)
+  fLeft(NULL),
+  fRight(NULL)
 {}
 
-AliITSIntMapNode::AliITSIntMapNode(Int_t key, Int_t val, AliITSIntMapNode* next):
+AliITSIntMapNode::AliITSIntMapNode(Int_t key, Int_t val, AliITSIntMapNode* left, AliITSIntMapNode* right):
   fKey(key),
   fVal(val),
-  fNext(next)
+  fLeft(left),
+  fRight(right)
 {}
 
 AliITSIntMapNode::AliITSIntMapNode(const AliITSIntMapNode& obj):
   fKey(obj.fKey),
   fVal(obj.fVal),
-  fNext(obj.fNext)
+  fLeft(obj.fLeft),
+  fRight(obj.fRight)
 {
   // copy constructor
 }
@@ -35,7 +38,8 @@ AliITSIntMapNode& AliITSIntMapNode::operator=(const AliITSIntMapNode& obj)
   if (this!=&obj) {
     fKey = obj.fKey;
     fVal = obj.fVal;
-    fNext = obj.fNext;
+    fLeft = obj.fLeft;
+    fRight = obj.fRight;
   }
   return *this;
 }