mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-15 13:39:57 +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:
@@ -29,17 +29,6 @@ StepBasic_SiUnitAndMassUnit::StepBasic_SiUnitAndMassUnit ()
|
||||
}
|
||||
|
||||
|
||||
//=======================================================================
|
||||
//function : Init
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepBasic_SiUnitAndMassUnit::Init(const Handle(StepBasic_DimensionalExponents)& aDimensions)
|
||||
{
|
||||
StepBasic_NamedUnit::Init(aDimensions);
|
||||
}
|
||||
|
||||
|
||||
//=======================================================================
|
||||
//function : Init
|
||||
//purpose :
|
||||
|
||||
Reference in New Issue
Block a user