Part: modernize C++: use equals default

This commit is contained in:
wmayer
2023-08-22 13:28:42 +02:00
committed by wwmayer
parent 622e46771e
commit b9e9fe435a
103 changed files with 215 additions and 718 deletions

View File

@@ -247,8 +247,6 @@ public:
{
initialize("This is a module working with the BRepFeat package."); // register with Python
}
~BRepFeatModule() override {}
};
class BRepOffsetAPIModule : public Py::ExtensionModule<BRepOffsetAPIModule>
@@ -258,8 +256,6 @@ public:
{
initialize("This is a module working with the BRepOffsetAPI package."); // register with Python
}
~BRepOffsetAPIModule() override {}
};
class Geom2dModule : public Py::ExtensionModule<Geom2dModule>
@@ -269,8 +265,6 @@ public:
{
initialize("This is a module working with 2d geometries."); // register with Python
}
~Geom2dModule() override {}
};
class GeomPlateModule : public Py::ExtensionModule<GeomPlateModule>
@@ -280,8 +274,6 @@ public:
{
initialize("This is a module working with the GeomPlate framework."); // register with Python
}
~GeomPlateModule() override {}
};
class HLRBRepModule : public Py::ExtensionModule<HLRBRepModule>
@@ -291,8 +283,6 @@ public:
{
initialize("This is a module working with the HLRBRep framework."); // register with Python
}
~HLRBRepModule() override {}
};
class ShapeFixModule : public Py::ExtensionModule<ShapeFixModule>
@@ -321,8 +311,6 @@ public:
initialize("This is a module working with the ShapeFix framework."); // register with Python
}
~ShapeFixModule() override {}
private:
Py::Object sameParameter(const Py::Tuple& args)
{
@@ -390,8 +378,6 @@ public:
{
initialize("This is a module working with the ShapeUpgrade framework."); // register with Python
}
~ShapeUpgradeModule() override {}
};
class ChFi2dModule : public Py::ExtensionModule<ChFi2dModule>
@@ -401,8 +387,6 @@ public:
{
initialize("This is a module working with the ChFi2d framework."); // register with Python
}
~ChFi2dModule() override {}
};
class Module : public Py::ExtensionModule<Module>
@@ -649,8 +633,6 @@ public:
PyModule_AddObject(m_module, "ChFi2d", chFi2d.module().ptr());
}
~Module() override {}
private:
Py::Object invoke_method_keyword( void *method_def,
const Py::Tuple &args, const Py::Dict &keywords ) override