]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
No copy constructor in the new AliESD interface
authorakisiel <akisiel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 21 May 2007 15:39:58 +0000 (15:39 +0000)
committerakisiel <akisiel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 21 May 2007 15:39:58 +0000 (15:39 +0000)
PWG2/FEMTOSCOPY/AliFemto/AliFemtoEventReaderESDChain.cxx

index 807740257a28ba1c25ceaeedb4cda0c648e57acb..bd25337899aeef29dec00122f2d290beaf70bf35 100644 (file)
@@ -117,7 +117,7 @@ AliFemtoEventReaderESDChain& AliFemtoEventReaderESDChain::operator=(const AliFem
   fCurEvent = aReader.fCurEvent;
   fCurFile = aReader.fCurFile;
   if (fEvent) delete fEvent;
   fCurEvent = aReader.fCurEvent;
   fCurFile = aReader.fCurFile;
   if (fEvent) delete fEvent;
-  fEvent = new AliESD(*aReader.fEvent);
+  fEvent = new AliESD();
 
   fEventFriend = aReader.fEventFriend;
   
 
   fEventFriend = aReader.fEventFriend;