]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Copy constructor and assignment operator are added
authorcvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 18 Aug 2006 14:00:45 +0000 (14:00 +0000)
committercvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 18 Aug 2006 14:00:45 +0000 (14:00 +0000)
START/AliSTART.cxx

index 0d86eeaaed7d6a9f4542a481aeaf0f4ec6af5073..8436c64b794875b66ae8af26cb665acd5f494f8e 100755 (executable)
@@ -120,6 +120,29 @@ AliSTART::~AliSTART() {
   }
   */ 
 }
+
+//______________________________________________________________________________
+AliSTART::AliSTART(const AliSTART &source):
+  AliDetector(source)
+{
+  // Copy constructor
+  // not implemented
+  AliWarning("Copy constructor not implemented!");
+}
+
+//______________________________________________________________________________
+AliSTART& AliSTART::operator= (const AliSTART& source)
+{
+  // Asignment operator
+  // not implemented
+  if(this==&source) return *this;
+
+  AliWarning("Asignment operator not implemented!");
+
+  ((TObject *)this)->operator=(source);
+
+  return *this;
+}
  
 //_____________________________________________________________________________
 void AliSTART::AddHit(Int_t track, Int_t *vol, Float_t *hits)