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

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

parent b3360a46
No related branches found
No related tags found
1 merge request!320Deal with mutable materials such as a gas mixture.
Pipeline #7376010 failed
......@@ -41,7 +41,8 @@ class GeoLogVol : public RCBase
// In some cases (gases, liquids) materials be updated?
void setMaterial (const GeoMaterial *newMaterial) const {
m_material=newMaterial;
std::unique_lock guards{m_mutex};
m_material = newMaterial;
}
protected:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment