Add missing assignment function
authorcblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 8 Apr 2005 06:12:01 +0000 (06:12 +0000)
committercblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 8 Apr 2005 06:12:01 +0000 (06:12 +0000)
TRD/AliTRDpadPlane.cxx

index 470a72f..58d9136 100644 (file)
@@ -318,6 +318,18 @@ AliTRDpadPlane::~AliTRDpadPlane()
 }
 
 //_____________________________________________________________________________
+AliTRDpadPlane &AliTRDpadPlane::operator=(const AliTRDpadPlane &p)
+{
+  //
+  // Assignment operator
+  //
+
+  if (this != &p) ((AliTRDpadPlane &) p).Copy(*this);
+  return *this;
+
+}
+
+//_____________________________________________________________________________
 void AliTRDpadPlane::Copy(TObject &p) const
 {
   //