Asignment operator implemented (P.Skowronski)
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 12 Nov 2001 07:56:29 +0000 (07:56 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 12 Nov 2001 07:56:29 +0000 (07:56 +0000)
EVGEN/AliGenReaderCwn.h
EVGEN/AliGenReaderTreeK.h

index a1b7759faddc8c21e3216a3886b43e8f3d91e7c1..9fb4ebb565e30c1de6f1c10975e857327ddcf3ed 100644 (file)
@@ -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
index bbe0a65befb304a5b3790ebcbcb59e742b53642e..29f3df06a2e31546c1c3df530ab62979795350c8 100644 (file)
@@ -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