From 70d2c4a20ce8f12da07e35caade0b60297ae1c47 Mon Sep 17 00:00:00 2001 From: cvetan Date: Fri, 18 Aug 2006 14:00:45 +0000 Subject: [PATCH] Copy constructor and assignment operator are added --- START/AliSTART.cxx | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/START/AliSTART.cxx b/START/AliSTART.cxx index 0d86eeaaed7..8436c64b794 100755 --- a/START/AliSTART.cxx +++ b/START/AliSTART.cxx @@ -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) -- 2.43.0