From 849a634166d365ab61d22a0af8c871264b7c53eb Mon Sep 17 00:00:00 2001 From: Marilena Bandieramonte <marilena.bandieramonte@cern.ch> Date: Tue, 9 Jan 2024 16:59:11 +0100 Subject: [PATCH] Fix compilation error on HelloGeoReadG4 example --- GeoModelExamples/HelloGeoRead2G4/HelloGeoReadG4.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GeoModelExamples/HelloGeoRead2G4/HelloGeoReadG4.cpp b/GeoModelExamples/HelloGeoRead2G4/HelloGeoReadG4.cpp index b656e33e3..41a815416 100644 --- a/GeoModelExamples/HelloGeoRead2G4/HelloGeoReadG4.cpp +++ b/GeoModelExamples/HelloGeoRead2G4/HelloGeoReadG4.cpp @@ -97,7 +97,7 @@ int main(int argc, char* argv[]) { std::cout << "ReadGeoModel set.\n"; /* build the GeoModel geometry */ - GeoPhysVol* world = + const GeoVPhysVol* world = readInGeo.buildGeoModel(); // builds the whole GeoModel tree in memory // and get an handle to the 'world' volume std::cout << "ReadGeoModel::buildGeoModel() done.\n"; -- GitLab