From a6095b6a22f54ac823da068773b275fa89b218b9 Mon Sep 17 00:00:00 2001 From: barbera Date: Wed, 14 Jun 2000 17:33:22 +0000 Subject: [PATCH] Problem with the HP compilers fixed. --- ITS/AliITSresponseSDD.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ITS/AliITSresponseSDD.cxx b/ITS/AliITSresponseSDD.cxx index 6662c846a7a..bfcd6ec884f 100644 --- a/ITS/AliITSresponseSDD.cxx +++ b/ITS/AliITSresponseSDD.cxx @@ -47,8 +47,9 @@ AliITSresponseSDD::AliITSresponseSDD() //__________________________________________________________________________ AliITSresponseSDD::AliITSresponseSDD(const AliITSresponseSDD &source){ // Copy Constructor + Int_t i; if(&source == this) return; - this->fCPar = source.fCPar; + for(i=0,i<8,i++){this->fCPar[i] = source.fCPar[i]}; this->fNoise = source.fNoise; this->fBaseline = source.fBaseline; this->fTopValue = source.fTopValue; @@ -69,8 +70,9 @@ AliITSresponseSDD::AliITSresponseSDD(const AliITSresponseSDD &source){ AliITSresponseSDD& AliITSresponseSDD::operator=(const AliITSresponseSDD &source) { // Assignment operator + Int_t i; if(&source == this) return *this; - this->fCPar = source.fCPar; + for(i=0,i<8,i++){this->fCPar[i] = source.fCPar[i]}; this->fNoise = source.fNoise; this->fBaseline = source.fBaseline; this->fTopValue = source.fTopValue; -- 2.31.1