mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0031035: Coding - uninitialized class fields reported by Visual Studio Code Analysis
Added initialization of fields that had not initialization Added default constructors to classes without constructors
This commit is contained in:
@@ -80,7 +80,12 @@ namespace
|
||||
Standard_Real Distance; //!< Distance between sub-shapes
|
||||
|
||||
//! Uninitialized constructor for collection.
|
||||
BRepExtrema_CheckPair() {}
|
||||
BRepExtrema_CheckPair()
|
||||
: Index1(0),
|
||||
Index2(0),
|
||||
Distance(0.0)
|
||||
{
|
||||
}
|
||||
|
||||
//! Creates new pair of sub-shapes.
|
||||
BRepExtrema_CheckPair (Standard_Integer theIndex1,
|
||||
|
Reference in New Issue
Block a user