OCC22577 Thread-safety/re-entrability improvements
[occt.git] / src / Standard / Standard_Transient_proto.hxx
index f771a6e..aedc3d0 100755 (executable)
@@ -86,7 +86,7 @@ class Standard_Transient
 
  private:
 
-   Standard_Integer count;
+   volatile Standard_Integer count;
 };
 
 Standard_EXPORT const Handle(Standard_Type)& STANDARD_TYPE(Standard_Transient);