mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-06-16 21:30:14 +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:
@@ -19,13 +19,6 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_WeekOfYearAndDayDate,StepBasic_Date)
|
||||
|
||||
StepBasic_WeekOfYearAndDayDate::StepBasic_WeekOfYearAndDayDate () {}
|
||||
|
||||
void StepBasic_WeekOfYearAndDayDate::Init(
|
||||
const Standard_Integer aYearComponent)
|
||||
{
|
||||
|
||||
StepBasic_Date::Init(aYearComponent);
|
||||
}
|
||||
|
||||
void StepBasic_WeekOfYearAndDayDate::Init(
|
||||
const Standard_Integer aYearComponent,
|
||||
const Standard_Integer aWeekComponent,
|
||||
|
||||
Reference in New Issue
Block a user