1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-18 14:27:39 +03:00

0031086: Coding Rules - STEPCAFControl_Reader has virtual functions, but no virtual destructor

Added missing virtual destructor.
This commit is contained in:
kgv
2020-08-28 14:10:43 +03:00
committed by bugmaster
parent af7fa1438e
commit 90bc1adb77
2 changed files with 13 additions and 2 deletions

View File

@@ -13,6 +13,7 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#include <STEPCAFControl_Reader.hxx>
#include <BRep_Builder.hxx>
#include <Geom_Axis2Placement.hxx>
@@ -50,7 +51,6 @@
#include <STEPCAFControl_DataMapOfSDRExternFile.hxx>
#include <STEPCAFControl_DataMapOfShapePD.hxx>
#include <STEPCAFControl_ExternFile.hxx>
#include <STEPCAFControl_Reader.hxx>
#include <STEPConstruct.hxx>
#include <STEPConstruct_Assembly.hxx>
#include <STEPConstruct_ExternRefs.hxx>
@@ -356,6 +356,14 @@ STEPCAFControl_Reader::STEPCAFControl_Reader(const Handle(XSControl_WorkSession)
Init(WS, scratch);
}
//=======================================================================
//function : ~STEPCAFControl_Reader
//purpose :
//=======================================================================
STEPCAFControl_Reader::~STEPCAFControl_Reader()
{
//
}
//=======================================================================
//function : Init