]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDv1.h
Compiler warnings and coding conventions, next round
[u/mrichter/AliRoot.git] / TRD / AliTRDv1.h
index ef324582300fcf175201055c5edf4cd476c331ec..bbd3dfc19ea30ab8df09ff39eda8e99f8ca8eb43 100644 (file)
@@ -23,8 +23,9 @@ class AliTRDv1 : public AliTRD {
 
   AliTRDv1();
   AliTRDv1(const char *name, const char *title);
-  AliTRDv1(AliTRDv1 &trd);
+  AliTRDv1(const AliTRDv1 &trd);
   virtual ~AliTRDv1();
+  AliTRDv1 &operator=(const AliTRDv1 &trd);
 
   virtual void    Copy(AliTRDv1 &trd);
   virtual void    CreateGeometry();
@@ -43,8 +44,6 @@ class AliTRDv1 : public AliTRD {
           Int_t   GetSensSector()      { return fSensSector;      };
           Int_t   GetSensSectorRange() { return fSensSectorRange; };
 
-  inline  AliTRDv1 &operator=(AliTRDv1 &trd);
-
  protected:
 
   Int_t        fIdSens;                 // Sensitive volume identifier
@@ -69,16 +68,4 @@ class AliTRDv1 : public AliTRD {
 
 };
 
-//_____________________________________________________________________________
-AliTRDv1 &AliTRDv1::operator=(AliTRDv1 &trd)
-{
-  //
-  // Assignment operator
-  //
-
-  if (this != &trd) trd.Copy(*this);
-  return *this;
-
-}
-
 #endif