mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-31 08:01:46 +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:
@@ -21,14 +21,6 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_ProductContext,StepBasic_ApplicationContext
|
||||
|
||||
StepBasic_ProductContext::StepBasic_ProductContext () {}
|
||||
|
||||
void StepBasic_ProductContext::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName,
|
||||
const Handle(StepBasic_ApplicationContext)& aFrameOfReference)
|
||||
{
|
||||
|
||||
StepBasic_ApplicationContextElement::Init(aName, aFrameOfReference);
|
||||
}
|
||||
|
||||
void StepBasic_ProductContext::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName,
|
||||
const Handle(StepBasic_ApplicationContext)& aFrameOfReference,
|
||||
|
||||
Reference in New Issue
Block a user