Compilation with icc
[u/mrichter/AliRoot.git] / MUON / AliMUONContourMaker.cxx
index 5dc496e..f992d9b 100644 (file)
@@ -106,7 +106,7 @@ AliMUONContourMaker::CreateContour(const TObjArray& polygons, const char* name)
   {
     AliCodeTimerAuto("Trivial case");
     contour = new AliMUONContour(name);
-    pol = static_cast<const AliMUONPolygon*>(polygons.First());
+    pol = static_cast<AliMUONPolygon*>(polygons.First());
     contour->Add(*pol);
     contour->AssertOrientation();
     return contour;