X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=STEER%2FAliPoints.cxx;h=8e7e9ffc7cb57a199041d34be1393d3446684395;hb=46af88befa9da615279c6b917e86692d59ae411f;hp=20cfeaacdbb4245a8f294ede315df1f34602fbd3;hpb=6c4904c2e7b88b314ced3331c2849d658c77afa7;p=u%2Fmrichter%2FAliRoot.git diff --git a/STEER/AliPoints.cxx b/STEER/AliPoints.cxx index 20cfeaacdbb..8e7e9ffc7cb 100644 --- a/STEER/AliPoints.cxx +++ b/STEER/AliPoints.cxx @@ -33,9 +33,9 @@ #include "TView.h" #include "AliDetector.h" +#include "AliMC.h" #include "AliPoints.h" #include "AliRun.h" -#include "AliMC.h" ClassImp(AliPoints) @@ -87,7 +87,7 @@ void AliPoints::Copy(TObject &pts) const // // Copy *this onto pts // - if(this != &pts) { + if((TObject*)this != &pts) { ((TPolyMarker3D*)this)->Copy(dynamic_cast(pts)); (dynamic_cast(pts)).fGLList = fGLList; (dynamic_cast(pts)).fLastPoint = fLastPoint;