Skip to content
Snippets Groups Projects
Commit a0b08857 authored by Marilena Bandieramonte's avatar Marilena Bandieramonte
Browse files

Fix implicit instantiation of undefined template compilation error on MacOS

parent 6a3140fc
No related branches found
No related tags found
1 merge request!258Fix implicit instantiation of undefined template compilation error on MacOS
Pipeline #6778569 passed
......@@ -22,6 +22,8 @@
#include "GeoModelKernel/Units.h"
#include <vector>
std::pair<const GeoShape* , const GeoShape*> getOps(const GeoShape* composed) {
if (composed->typeID() == GeoShapeUnion::getClassTypeID()) {
const GeoShapeUnion* unionShape = dynamic_cast<const GeoShapeUnion*>(composed);
......@@ -136,4 +138,4 @@ std::string printGeoShape(const GeoShape* shape) {
ostr<<"dPhi="<<torus->getDPhi()*toDeg;
}
return ostr.str();
}
\ No newline at end of file
}
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