From: hristov Date: Mon, 12 Nov 2001 07:56:29 +0000 (+0000) Subject: Asignment operator implemented (P.Skowronski) X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=commitdiff_plain;h=67dffb2f94a8031ab189938531ac38d0aa8f0b85 Asignment operator implemented (P.Skowronski) --- diff --git a/EVGEN/AliGenReaderCwn.h b/EVGEN/AliGenReaderCwn.h index a1b7759fadd..9fb4ebb565e 100644 --- a/EVGEN/AliGenReaderCwn.h +++ b/EVGEN/AliGenReaderCwn.h @@ -20,7 +20,7 @@ class AliGenReaderCwn : public AliGenReader // Read virtual Int_t NextEvent(); virtual TParticle* NextParticle(); - AliGenReaderCwn & operator=(const AliGenReader & rhs); + AliGenReaderCwn & operator=(const AliGenReader & rhs){return *this;} protected: Int_t fNcurrent; // points to the next entry Int_t fNparticle; // particle number in event diff --git a/EVGEN/AliGenReaderTreeK.h b/EVGEN/AliGenReaderTreeK.h index bbe0a65befb..29f3df06a2e 100644 --- a/EVGEN/AliGenReaderTreeK.h +++ b/EVGEN/AliGenReaderTreeK.h @@ -23,7 +23,7 @@ class AliGenReaderTreeK : public AliGenReader // Read virtual Int_t NextEvent(); virtual TParticle* NextParticle(); - AliGenReaderTreeK & operator=(const AliGenReader & rhs); + AliGenReaderTreeK & operator=(const AliGenReader & rhs){return *this;} protected: Int_t fNcurrent; // points to the next entry Int_t fNparticle; // Next particle in list