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 0d86eea..8436c64 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)