Skip to content
Snippets Groups Projects
Commit f9b7e763 authored by Johannes Junggeburth's avatar Johannes Junggeburth :dog2:
Browse files

Apply 1 suggestion(s) to 1 file(s)

parent cb49ce12
No related branches found
No related tags found
1 merge request!246Developments for the GeoModelXMLDumper - The first nail in AGDD's coffin
...@@ -57,6 +57,6 @@ GeoIntrusivePtr<RCBase> MakeShapeShift::make(const xercesc::DOMElement *element, ...@@ -57,6 +57,6 @@ GeoIntrusivePtr<RCBase> MakeShapeShift::make(const xercesc::DOMElement *element,
if (!sorter.compare(GeoTrf::Transform3D::Identity(), hepXf)) { if (!sorter.compare(GeoTrf::Transform3D::Identity(), hepXf)) {
return shape; return shape;
} }
return cacheShape(make_intrusive<GeoShapeShift>(shape, hepXf)); return const_cast(cacheShape(make_intrusive<GeoShapeShift>(shape, hepXf)));
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment