Import: modernize C++: use default member init

This commit is contained in:
wmayer
2023-08-22 17:38:11 +02:00
committed by wwmayer
parent 51b924fd81
commit a0882fe64a
6 changed files with 5 additions and 6 deletions

View File

@@ -84,7 +84,7 @@ static inline App::Color convertColor(const Quantity_ColorRGBA &c)
#define OCAF_KEEP_PLACEMENT
ImportOCAF::ImportOCAF(Handle(TDocStd_Document) h, App::Document* d, const std::string& name)
: pDoc(h), doc(d), merge(true), default_name(name)
: pDoc(h), doc(d), default_name(name)
{
aShapeTool = XCAFDoc_DocumentTool::ShapeTool (pDoc->Main());
aColorTool = XCAFDoc_DocumentTool::ColorTool(pDoc->Main());