]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
provide non-void return type for operator=() to make the
authorrdm <rdm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 15 Apr 2004 15:14:57 +0000 (15:14 +0000)
committerrdm <rdm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 15 Apr 2004 15:14:57 +0000 (15:14 +0000)
code checker happy (methods are not implemented anyway).

RAW/AliRawEvent.cxx
RAW/AliRawEvent.h

index 31b5282b98da4fb8ed35e1b140235b819c9a0c5f..5e393f10939901e5a4d734bc646e5d7dbb8a8587 100644 (file)
@@ -1290,7 +1290,7 @@ private:
    AliMDC *fMDC;   // alimdc to signal
 
    AliMDCInterruptHandler(const AliMDCInterruptHandler &);
-   void operator=(const AliMDCInterruptHandler &);
+   AliMDCInterruptHandler &operator=(const AliMDCInterruptHandler &);
 };
 
 //______________________________________________________________________________
index facd681fc47eb9b30646e68d2805346ffa08990f..dff55a20cebc98942cb3e9007e692b085152660c 100644 (file)
@@ -175,7 +175,7 @@ private:
    Bool_t  fOwner;        //!if true object owns fRawData buffer
 
    AliRawData(const AliRawData &);      // not implemented, usage causes
-   void operator=(const AliRawData &);  // link time error
+   AliRawData &operator=(const AliRawData &);  // link time error
 
    ClassDef(AliRawData,1)  // Alice raw event buffer
 };
@@ -223,7 +223,7 @@ private:
    TObjArray             *fSubEvents;   // sub AliRawEvent's
 
    AliRawEvent(const AliRawEvent &);    // not implemented, usage causes
-   void operator=(const AliRawEvent &); // link time error
+   AliRawEvent &operator=(const AliRawEvent &); // link time error
 
    ClassDef(AliRawEvent,1)  // ALICE raw event object
 };
@@ -320,7 +320,7 @@ protected:
 
 private:
    AliRawDB(const AliRawDB &);       // not implemented, usage causes
-   void operator=(const AliRawDB &); // link time error
+   AliRawDB &operator=(const AliRawDB &); // link time error
 
    ClassDef(AliRawDB,0)  // Raw DB
 };
@@ -419,7 +419,7 @@ protected:
 
 private:
    AliTagDB(const AliTagDB &);       // not implemented, usage causes
-   void operator=(const AliTagDB &); // link time error
+   AliTagDB &operator=(const AliTagDB &); // link time error
 
    ClassDef(AliTagDB,0)  // Tag DB
 };
@@ -455,7 +455,7 @@ private:
    TFile  *fRunDB;     // run database
 
    AliRunDB(const AliRunDB &);       // not implemented, usage causes
-   void operator=(const AliRunDB &); // link time error
+   AliRunDB &operator=(const AliRunDB &); // link time error
 
    ClassDef(AliRunDB,0)  // Run (bookkeeping) DB
 };