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 470a72f485aad495264aa9aed4c13bd458efdc3e..58d913638eddc01c02c228cf13da9d791273af13 100644 (file)
@@ -317,6 +317,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
 {