0031035: Coding - uninitialized class fields reported by Visual Studio Code Analysis
[occt.git] / src / FEmTool / FEmTool_ElementaryCriterion.cxx
index 61e030f..dfaa48c 100644 (file)
 
 IMPLEMENT_STANDARD_RTTIEXT(FEmTool_ElementaryCriterion,Standard_Transient)
 
-void FEmTool_ElementaryCriterion::Set(const Handle(TColStd_HArray2OfReal)& Coeff) 
+FEmTool_ElementaryCriterion::FEmTool_ElementaryCriterion()
+: myFirst(0.0),
+  myLast(0.0)
+{
+}
+
+void FEmTool_ElementaryCriterion::Set(const Handle(TColStd_HArray2OfReal)& Coeff)
 {
   myCoeff = Coeff;
 }