]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSEMCAGeometry.h
Effective C++ warnings fixed (Timur Pocheptsov)
[u/mrichter/AliRoot.git] / PHOS / AliPHOSEMCAGeometry.h
index 9ca7dcf8cd4d4d4297897f59d256eeaeea0f3434..2fc1f41024a234880ca304318c8211e34a1344a4 100644 (file)
@@ -24,17 +24,9 @@ class AliPHOSEMCAGeometry : public TObject {
 public: 
 
   AliPHOSEMCAGeometry();
-  AliPHOSEMCAGeometry(const AliPHOSEMCAGeometry & cpv) : TObject(cpv) {
-    // cpy ctor requested by Coding Convention but not yet needed
-    Fatal("Copy ctor","Not implemented yet");
-  } 
-  virtual ~AliPHOSEMCAGeometry(void) {}
+  //Compiler-generated copy ctor and copy-assignment operator _ARE_ OK.
 
-  AliPHOSEMCAGeometry & operator = (const AliPHOSEMCAGeometry  & /*rvalue*/) {
-    // assignement operator requested by coding convention but not needed
-    Fatal("Operator = ","Not implemented yet");
-    return *this ; 
-  }
+  virtual ~AliPHOSEMCAGeometry(void) {}
 
   Float_t * GetStripHalfSize() {return fStripHalfSize ;}
   Float_t   GetStripWallWidthOut() const {return fStripWallWidthOut ;}