Skip to content
Snippets Groups Projects
Commit 2a0bfc75 authored by Riccardo Maria Bianchi's avatar Riccardo Maria Bianchi :sunny:
Browse files

Add constness to methods loading .db and returning 'world'.

Sarka Todorova correctly noted that the public loaders should return
a const 'world' volume, so a const pointer to the GeoVPhysVol.

I added constness to both the GeoModelRead::buildGeoModel() and to the
new loadDB() helper methods.

I then remove the constness in the visualization code, internally,
otherwise it's more complicated to manipulate the geo tree.
parent 0dce221f
No related branches found
No related tags found
1 merge request!217Fix the compilation of I/O helpers
Pipeline #6384517 failed
Loading
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