From 67dffb2f94a8031ab189938531ac38d0aa8f0b85 Mon Sep 17 00:00:00 2001 From: hristov Date: Mon, 12 Nov 2001 07:56:29 +0000 Subject: [PATCH] Asignment operator implemented (P.Skowronski) --- EVGEN/AliGenReaderCwn.h | 2 +- EVGEN/AliGenReaderTreeK.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.31.1