mctools / simplebuild-dgcode

dgcode: the Geant4-based simulation framework of the ESS Detector Group. Provided as simple-build-system bundles.
https://mctools.github.io/simplebuild-dgcode/
Other
2 stars 1 forks source link

NamedMaterialMgr should return const material pointers #34

Open tkittel opened 6 months ago

tkittel commented 6 months ago

NamedMaterialMgr should return const material pointers because otherwise the internal database might get corrupted.