mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +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:
@@ -56,7 +56,13 @@ class SelectMgr_Frustum : public SelectMgr_BaseFrustum
|
||||
{
|
||||
public:
|
||||
|
||||
SelectMgr_Frustum() : SelectMgr_BaseFrustum() {};
|
||||
SelectMgr_Frustum() : SelectMgr_BaseFrustum()
|
||||
{
|
||||
memset (myMaxOrthoVertsProjections, 0, sizeof (myMaxOrthoVertsProjections));
|
||||
memset (myMinOrthoVertsProjections, 0, sizeof (myMinOrthoVertsProjections));
|
||||
memset (myMaxVertsProjections, 0, sizeof (myMaxVertsProjections));
|
||||
memset (myMinVertsProjections, 0, sizeof (myMinVertsProjections));
|
||||
}
|
||||
|
||||
protected:
|
||||
|
||||
|
Reference in New Issue
Block a user