Skip to content
Snippets Groups Projects
Commit b3360a46 authored by Johannes Junggeburth's avatar Johannes Junggeburth :dog2: Committed by Joseph Boudreau
Browse files

Apply 1 suggestion(s) to 1 file(s)

parent e9d1b7f8
Branches
Tags
1 merge request!320Deal with mutable materials such as a gas mixture.
Pipeline #7376007 failed
...@@ -35,6 +35,7 @@ class GeoLogVol : public RCBase ...@@ -35,6 +35,7 @@ class GeoLogVol : public RCBase
// Returns the material of the logical volume. // Returns the material of the logical volume.
const GeoMaterial* getMaterial () const { const GeoMaterial* getMaterial () const {
std::shared_lock lock{m_mutex};
return m_material; return m_material;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment