From: haavard Date: Tue, 4 Mar 2008 11:16:31 +0000 (+0000) Subject: Remove compiler warnings X-Git-Url: http://git.uio.no/git/?a=commitdiff_plain;h=f4a896695d4fdef0278397af6e45477194f206cf;p=u%2Fmrichter%2FAliRoot.git Remove compiler warnings --- diff --git a/TPC/AliTPCGenDBTemp.cxx b/TPC/AliTPCGenDBTemp.cxx index eabe9c04606..0cc34633c20 100644 --- a/TPC/AliTPCGenDBTemp.cxx +++ b/TPC/AliTPCGenDBTemp.cxx @@ -43,7 +43,7 @@ AliTPCGenDBTemp::AliTPCGenDBTemp(const char *defaultStorage, const char *specifi //______________________________________________________________________________________________ -AliTPCGenDBTemp::AliTPCGenDBTemp(const AliTPCGenDBTemp& org) : AliDCSGenDB(org) +AliTPCGenDBTemp::AliTPCGenDBTemp(const AliTPCGenDBTemp& ) : AliDCSGenDB() { // diff --git a/TPC/AliTPCGenDBTemp.h b/TPC/AliTPCGenDBTemp.h index c503f5d97e2..6826d508111 100644 --- a/TPC/AliTPCGenDBTemp.h +++ b/TPC/AliTPCGenDBTemp.h @@ -45,8 +45,8 @@ public: private: - AliTPCGenDBTemp(const AliTPCGenDBTemp& org); - AliTPCGenDBTemp& operator= (const AliTPCGenDBTemp& org); + AliTPCGenDBTemp(const AliTPCGenDBTemp& ); + AliTPCGenDBTemp& operator= (const AliTPCGenDBTemp& ); ClassDef(AliTPCGenDBTemp,1) }; diff --git a/TPC/AliTPCPreprocessor.cxx b/TPC/AliTPCPreprocessor.cxx index daedfdb1466..7d4040ce6b1 100644 --- a/TPC/AliTPCPreprocessor.cxx +++ b/TPC/AliTPCPreprocessor.cxx @@ -63,17 +63,15 @@ AliTPCPreprocessor::AliTPCPreprocessor(AliShuttleInterface* shuttle) : fROC = AliTPCROC::Instance(); } //______________________________________________________________________________________________ -// AliTPCPreprocessor::AliTPCPreprocessor(const AliTPCPreprocessor& org) : -// AliPreprocessor(org), -// fConfEnv(0), fTemp(0), fHighVoltage(0), fConfigOK(kTRUE) -// { -// // copy constructor not implemented -// // -- missing underlying copy constructor in AliPreprocessor -// -// Fatal("AliTPCPreprocessor", "copy constructor not implemented"); + AliTPCPreprocessor::AliTPCPreprocessor(const AliTPCPreprocessor& ) : + AliPreprocessor("TPC",0), + fConfEnv(0), fTemp(0), fHighVoltage(0), fConfigOK(kTRUE), fROC(0) + { + + Fatal("AliTPCPreprocessor", "copy constructor not implemented"); // // // fTemp = new AliTPCSensorTempArray(*(org.fTemp)); -// } + } //______________________________________________________________________________________________ AliTPCPreprocessor::~AliTPCPreprocessor() @@ -102,8 +100,8 @@ void AliTPCPreprocessor::Initialize(Int_t run, UInt_t startTime, AliPreprocessor::Initialize(run, startTimeLocal, endTime); AliInfo(Form("\n\tRun %d \n\tStartTime %s \n\tEndTime %s", run, - TTimeStamp(startTime).AsString(), - TTimeStamp(endTime).AsString())); + TTimeStamp((time_t)startTime,0).AsString(), + TTimeStamp((time_t)endTime,0).AsString())); // Preprocessor configuration diff --git a/TPC/AliTPCPreprocessor.h b/TPC/AliTPCPreprocessor.h index feedb7f23ec..9e0c54e5bd7 100644 --- a/TPC/AliTPCPreprocessor.h +++ b/TPC/AliTPCPreprocessor.h @@ -16,7 +16,7 @@ class AliTPCPreprocessor : public AliPreprocessor { public: AliTPCPreprocessor(AliShuttleInterface* shuttle); -// AliTPCPreprocessor(const AliTPCPreprocessor &org); + AliTPCPreprocessor(const AliTPCPreprocessor &); virtual ~AliTPCPreprocessor(); protected: diff --git a/TPC/AliTPCcalibDB.cxx b/TPC/AliTPCcalibDB.cxx index da96eb34ce6..a51dc6bb052 100644 --- a/TPC/AliTPCcalibDB.cxx +++ b/TPC/AliTPCcalibDB.cxx @@ -317,7 +317,20 @@ void AliTPCcalibDB::Update(){ AliCDBManager::Instance()->SetCacheFlag(cdbCache); // reset original CDB cache } -AliTPCcalibDB::AliTPCcalibDB(const AliTPCcalibDB& org) +AliTPCcalibDB::AliTPCcalibDB(const AliTPCcalibDB& ): + fRun(-1), + fTransform(0), + fExB(0), + fPadGainFactor(0), + fPadTime0(0), + fPadNoise(0), + fPedestals(0), + fTemperature(0), + fMapping(0), + fRecoParamArray(0), + fParam(0), + fClusterParam(0) + { // // Copy constructor invalid -- singleton implementation @@ -325,7 +338,7 @@ AliTPCcalibDB::AliTPCcalibDB(const AliTPCcalibDB& org) Error("copy constructor","invalid -- singleton implementation"); } -AliTPCcalibDB& AliTPCcalibDB::operator= (const AliTPCcalibDB& rhs) +AliTPCcalibDB& AliTPCcalibDB::operator= (const AliTPCcalibDB& ) { // // Singleton implementation - no assignment operator diff --git a/TPC/AliTPCcalibDB.h b/TPC/AliTPCcalibDB.h index 4d0aae695f5..1592fbc7489 100644 --- a/TPC/AliTPCcalibDB.h +++ b/TPC/AliTPCcalibDB.h @@ -74,8 +74,8 @@ protected: static Bool_t fgTerminated; // termination control ClassDef(AliTPCcalibDB, 0) private: - AliTPCcalibDB (const AliTPCcalibDB& org); - AliTPCcalibDB& operator= (const AliTPCcalibDB& rhs); + AliTPCcalibDB (const AliTPCcalibDB& ); + AliTPCcalibDB& operator= (const AliTPCcalibDB& ); };