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:
@@ -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
|
||||
|
Reference in New Issue
Block a user