From: schutz Date: Mon, 10 Nov 2003 09:02:52 +0000 (+0000) Subject: Coding conventions obeyed X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=commitdiff_plain;h=9c0a48629c3b49c027e7458c107bc2c5932f5b0f Coding conventions obeyed --- diff --git a/EMCAL/AliEMCAL.h b/EMCAL/AliEMCAL.h index 27d7bd09c09..457b17f3612 100644 --- a/EMCAL/AliEMCAL.h +++ b/EMCAL/AliEMCAL.h @@ -52,7 +52,7 @@ class AliEMCAL : public AliDetector { virtual TTree * TreeQA() const {return fTreeQA; } virtual const TString Version() const {return TString(" ") ; } virtual void WriteQA() ; - AliEMCAL & operator = (const AliEMCAL & rvalue) { + AliEMCAL & operator = (const AliEMCAL & /*rvalue*/) { // assignement operator requested by coding convention // but not needed Fatal("operator =", "not implemented") ; diff --git a/EMCAL/AliEMCALDigitizer.h b/EMCAL/AliEMCALDigitizer.h index c76b167c86a..b300fb6f4f9 100644 --- a/EMCAL/AliEMCALDigitizer.h +++ b/EMCAL/AliEMCALDigitizer.h @@ -60,7 +60,7 @@ public: const TString eventFolderName = AliConfig::fgkDefaultEventFolderName) ; // Add another one file to mix void Print()const ; - AliEMCALDigitizer & operator = (const AliEMCALDigitizer & rvalue) { + AliEMCALDigitizer & operator = (const AliEMCALDigitizer & /*rvalue*/) { // assignement operator requested by coding convention but not needed Fatal("operator =", "not implemented") ; return *this ; diff --git a/EMCAL/AliEMCALGeometry.h b/EMCAL/AliEMCALGeometry.h index d7c9f3303c5..6cfdc77b25f 100644 --- a/EMCAL/AliEMCALGeometry.h +++ b/EMCAL/AliEMCALGeometry.h @@ -38,9 +38,9 @@ public: static AliEMCALGeometry * GetInstance(const Text_t* name, const Text_t* title="") ; static AliEMCALGeometry * GetInstance() ; - AliEMCALGeometry & operator = (const AliEMCALGeometry & rvalue) const { + AliEMCALGeometry & operator = (const AliEMCALGeometry & /*rvalue*/) const { // assignement operator requested by coding convention but not needed - assert(0==1) ; + Fatal("operator =", "not implemented") ; return *(GetInstance()) ; }; diff --git a/EMCAL/AliEMCALSDigitizer.h b/EMCAL/AliEMCALSDigitizer.h index d3b825ee6ec..7c9f7e36112 100644 --- a/EMCAL/AliEMCALSDigitizer.h +++ b/EMCAL/AliEMCALSDigitizer.h @@ -39,7 +39,7 @@ public: void SetEventFolderName(TString name) { fEventFolderName = name ; } Bool_t operator == (const AliEMCALSDigitizer & sd) const ; - AliEMCALSDigitizer & operator = (const AliEMCALSDigitizer & sd) {return *this ;} + AliEMCALSDigitizer & operator = (const AliEMCALSDigitizer & /*sd*/) {return *this ;} private: diff --git a/EMCAL/AliEMCALTowerRecPoint.h b/EMCAL/AliEMCALTowerRecPoint.h index d811ba5dd57..9856abbb397 100644 --- a/EMCAL/AliEMCALTowerRecPoint.h +++ b/EMCAL/AliEMCALTowerRecPoint.h @@ -64,7 +64,7 @@ public: void Print(Option_t * /*opt = "void"*/) ; const TVector3 XYZInAlice(Float_t r = 9999., Float_t theta = 9999., Float_t phi = 9999.) const ; - AliEMCALTowerRecPoint & operator = (const AliEMCALTowerRecPoint & rvalue) { + AliEMCALTowerRecPoint & operator = (const AliEMCALTowerRecPoint & /*rvalue*/) { // assignement operator requested by coding convention but not needed assert(0==1) ; return *this ; diff --git a/EMCAL/AliEMCALv0.h b/EMCAL/AliEMCALv0.h index 1eaa467751b..a7227092aa1 100644 --- a/EMCAL/AliEMCALv0.h +++ b/EMCAL/AliEMCALv0.h @@ -46,7 +46,7 @@ class AliEMCALv0 : public AliEMCAL { return TString("v0") ; } - AliEMCALv0 & operator = (const AliEMCALv0 & rvalue) { + AliEMCALv0 & operator = (const AliEMCALv0 & /*rvalue*/) { // assignement operator requested by coding convention but not needed Fatal("operator =", "not implemented") ; return *this ; diff --git a/EMCAL/AliEMCALv1.h b/EMCAL/AliEMCALv1.h index c7de2510da9..a9ac230d787 100644 --- a/EMCAL/AliEMCALv1.h +++ b/EMCAL/AliEMCALv1.h @@ -38,7 +38,7 @@ public: virtual void StepManager(void) ; virtual const TString Version(void)const {return TString("v0");} // assignement operator requested by coding convention but not needed - AliEMCALv1 & operator = (const AliEMCALv0 & rvalue){ + AliEMCALv1 & operator = (const AliEMCALv0 & /*rvalue*/){ Fatal("operator =", "not implemented") ; return *this;}