mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-25 17:43:48 +08: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:
@@ -203,8 +203,11 @@ namespace {
|
||||
// Purpose : Empty constructor
|
||||
// ============================================================================
|
||||
|
||||
STEPControl_ActorRead::STEPControl_ActorRead() {}
|
||||
|
||||
STEPControl_ActorRead::STEPControl_ActorRead()
|
||||
: myPrecision(0.0),
|
||||
myMaxTol(0.0)
|
||||
{
|
||||
}
|
||||
// ============================================================================
|
||||
// Method : STEPControl_ActorRead::Recognize
|
||||
// Purpose : tells if an entity is valid for transfer by this Actor
|
||||
|
||||
Reference in New Issue
Block a user