]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ACORDE/AliACORDEQAChecker.cxx
Coverity fixed
[u/mrichter/AliRoot.git] / ACORDE / AliACORDEQAChecker.cxx
index 12377b724a22b51546ac1c236aca2332ef3e4770..71479a46eec3fdcc6300ff8e57d347c5ab583d18 100755 (executable)
@@ -84,10 +84,9 @@ fMin(static_cast<TLine*>(qac.fMin->Clone()))
 //____________________________________________________________________________
 AliACORDEQAChecker& AliACORDEQAChecker::operator = (const AliACORDEQAChecker &qac)
 {
-       
-       fTextDQMShifterInfo = new TPaveText(35,0.5,55,0.7,"T");
-       fMax = static_cast<TLine*>(qac.fMax->Clone());
-       fMin = static_cast<TLine*>(qac.fMin->Clone());
+       // use cpy option from constructor
+       if (&qac==this) return *this;
+       new (this) AliACORDEQAChecker(qac);
        return *this;
 }
 //____________________________________________________________________________