corrections to obey coding conventions
[u/mrichter/AliRoot.git] / MONITOR / AliMonitorPlot.cxx
index dba25a0..30d2f8d 100644 (file)
@@ -54,6 +54,16 @@ AliMonitorPlot::AliMonitorPlot(const AliMonitorPlot& plot) :
   fNumberOfEvents = plot.fNumberOfEvents;
 }
 
+//_____________________________________________________________________________
+AliMonitorPlot& AliMonitorPlot::operator =(const AliMonitorPlot& plot)
+{
+// assignment operator
+
+  TNamed::operator =(plot);
+  fNumberOfEvents = plot.fNumberOfEvents;
+  return *this;
+}
+
 //_____________________________________________________________________________
 AliMonitorPlot::AliMonitorPlot(const char* name, const char* title) :
   TNamed(name, title)