]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSvFast.cxx
Compilation warnings fixed by T.P.
[u/mrichter/AliRoot.git] / PHOS / AliPHOSvFast.cxx
index 816cb09ceba55a76888e790a45c2429b6cd6d884..f511821923c40a0f51e590c22f2ec523218f5424 100644 (file)
 
 /* $Id$ */
 
+/* History of cvs commits:
+ *
+ * $Log$
+ */
+
 //_________________________________________________________________________
 // Implementation of the PHOS manager class for fast simulations     
 // Tracks particles until the reach a grossly designed PHOS module
@@ -104,10 +109,11 @@ AliPHOSvFast::~AliPHOSvFast()
 }
 
 //____________________________________________________________________________
-void AliPHOSvFast::Copy(AliPHOSvFast & fast)
+void AliPHOSvFast::Copy(TObject & base)const
 {
-  TObject::Copy(fast) ; 
-  AliPHOS::Copy(fast) ; 
+  TObject::Copy(base) ; 
+  AliPHOS::Copy(base) ; 
+  AliPHOSvFast &fast = static_cast<AliPHOSvFast &>(base);
   fast.fBigBoxX = fBigBoxX ; 
   fast.fBigBoxY = fBigBoxY ; 
   fast.fBigBoxZ = fBigBoxZ ;