]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STRUCT/AliALIFE.cxx
Removing warnings (icc)
[u/mrichter/AliRoot.git] / STRUCT / AliALIFE.cxx
index 63c1954f0b857e9f295147200aeee3824e6ca722..f33b237b2c1b55fb2af04777b4cd6055f3986c24 100644 (file)
@@ -427,7 +427,7 @@ void AliALIFE::Comment(char* Comment)
 }
 
 
-void AliALIFE::Finish()
+void AliALIFE::Finish(Bool_t iremove)
 {
 // Finish geometry definition
     char s[BUFSIZ];
@@ -440,9 +440,13 @@ void AliALIFE::Finish()
     
     fclose(fFile1);
     fclose(fFile2);    
+    if (iremove) {
+       remove(fVolumeFile);
+       remove(fBodyFile);
+    }
 }
 
-void AliALIFE::Copy(AliALIFE&) const
+void AliALIFE::Copy(TObject&) const
 {
     //
     // Copy