mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0027047: STEP -- eliminate useless polymorhic methods Init()
Methods Init() in STEP data classes are made non-virtual, redundant variants just calling the same method of the base class are removed. A few places where removed method have been called are corrected.
This commit is contained in:
@@ -34,7 +34,7 @@ public:
|
||||
Standard_EXPORT StepDimTol_RunoutZoneOrientation();
|
||||
|
||||
//! Init all field own and inherited
|
||||
Standard_EXPORT virtual void Init (const Handle(StepBasic_PlaneAngleMeasureWithUnit)& theAngle);
|
||||
Standard_EXPORT void Init (const Handle(StepBasic_PlaneAngleMeasureWithUnit)& theAngle);
|
||||
|
||||
//! Returns field Angle
|
||||
inline Handle(StepBasic_PlaneAngleMeasureWithUnit) Angle()
|
||||
|
@@ -36,7 +36,7 @@ public:
|
||||
Standard_EXPORT StepDimTol_ToleranceZoneForm();
|
||||
|
||||
//! Init all field own and inherited
|
||||
Standard_EXPORT virtual void Init (const Handle(TCollection_HAsciiString)& theName);
|
||||
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theName);
|
||||
|
||||
//! Returns field Name
|
||||
inline Handle(TCollection_HAsciiString) Name()
|
||||
|
Reference in New Issue
Block a user