Skip to content
Snippets Groups Projects

Fix implicit instantiation of undefined template compilation error on MacOS

Merged Marilena Bandieramonte requested to merge fixCompilationError into main
1 file
+ 3
1
Compare changes
  • Side-by-side
  • Inline
@@ -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
}
Loading