mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-12 02:40:22 +08: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:
@@ -40,7 +40,7 @@ public:
|
||||
//! Returns a LocalTime
|
||||
Standard_EXPORT StepBasic_LocalTime();
|
||||
|
||||
Standard_EXPORT virtual void Init (const Standard_Integer aHourComponent, const Standard_Boolean hasAminuteComponent, const Standard_Integer aMinuteComponent, const Standard_Boolean hasAsecondComponent, const Standard_Real aSecondComponent, const Handle(StepBasic_CoordinatedUniversalTimeOffset)& aZone);
|
||||
Standard_EXPORT void Init (const Standard_Integer aHourComponent, const Standard_Boolean hasAminuteComponent, const Standard_Integer aMinuteComponent, const Standard_Boolean hasAsecondComponent, const Standard_Real aSecondComponent, const Handle(StepBasic_CoordinatedUniversalTimeOffset)& aZone);
|
||||
|
||||
Standard_EXPORT void SetHourComponent (const Standard_Integer aHourComponent);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user