Skip to content
Snippets Groups Projects

GeoMaterial2G4+Geo2G4: Add missing const qualifiers.

Merged Scott Snyder requested to merge ssnyder/athena:const.GeoMaterial2G4-20200914 into master
2 files
+ 3
3
Compare changes
  • Side-by-side
  • Inline
Files
2
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
*/
#include "Geo2G4OpticalSurfaceFactory.h"
@@ -115,7 +115,7 @@ G4OpticalSurface* Geo2G4OpticalSurfaceFactory::Build(const GeoOpticalSurface* ge
// Create material properties table
Geo2G4MatPropTableFactory* tFactory = Geo2G4MatPropTableFactory::instance();
GeoMaterialPropertiesTable* geoPropTable = geoOpticalSurface->GetMaterialPropertiesTable();
const GeoMaterialPropertiesTable* geoPropTable = geoOpticalSurface->GetMaterialPropertiesTable();
if(geoPropTable){
G4MaterialPropertiesTable* g4PropTable = tFactory->Build(geoPropTable);
Loading