Mod: redundant void 2

This commit is contained in:
berniev
2022-08-07 20:05:16 +10:00
committed by wwmayer
parent 311abcc43e
commit da9ebc572f
805 changed files with 3787 additions and 3787 deletions

View File

@@ -101,7 +101,7 @@ CurveProjectorShape::CurveProjectorShape(const TopoDS_Shape &aShape, const MeshK
Do();
}
void CurveProjectorShape::Do(void)
void CurveProjectorShape::Do()
{
TopExp_Explorer Ex;
TopoDS_Shape Edge;
@@ -269,7 +269,7 @@ CurveProjectorSimple::CurveProjectorSimple(const TopoDS_Shape &aShape, const Mes
}
void CurveProjectorSimple::Do(void)
void CurveProjectorSimple::Do()
{
TopExp_Explorer Ex;
TopoDS_Shape Edge;
@@ -583,7 +583,7 @@ CurveProjectorWithToolMesh::CurveProjectorWithToolMesh(const TopoDS_Shape &aShap
}
void CurveProjectorWithToolMesh::Do(void)
void CurveProjectorWithToolMesh::Do()
{
TopExp_Explorer Ex;
TopoDS_Shape Edge;

View File

@@ -72,7 +72,7 @@ public:
typedef std::map<TopoDS_Edge, std::vector<FaceSplitEdge>,TopoDSLess<TopoDS_Edge> > result_type;
result_type &result(void) {return mvEdgeSplitPoints;}
result_type &result() {return mvEdgeSplitPoints;}
void writeIntersectionPointsToFile(const char *name="export_pts.asc");

View File

@@ -478,7 +478,7 @@ class _VertexCompare
return clP1.X() < clP2.X();
}
_VertexCompare (void) : dE(1.0e-5) {}
_VertexCompare () : dE(1.0e-5) {}
double dE;
};

View File

@@ -34,7 +34,7 @@
#include "Workbench.h"
// use a different name to CreateCommand()
void CreateMeshPartCommands(void);
void CreateMeshPartCommands();
void loadMeshPartResource()
{

View File

@@ -68,7 +68,7 @@ void CmdMeshPartMesher::activated(int)
Gui::Control().showDialog(new MeshPartGui::TaskTessellation());
}
bool CmdMeshPartMesher::isActive(void)
bool CmdMeshPartMesher::isActive()
{
return (hasActiveDocument() && !Gui::Control().activeDialog());
}
@@ -164,7 +164,7 @@ void CmdMeshPartTrimByPlane::activated(int)
commitCommand();
}
bool CmdMeshPartTrimByPlane::isActive(void)
bool CmdMeshPartTrimByPlane::isActive()
{
// Check for the selected mesh feature (all Mesh types)
if (getSelection().countObjectsOfType(Mesh::Feature::getClassTypeId()) != 1)
@@ -248,7 +248,7 @@ void CmdMeshPartSection::activated(int)
commitCommand();
}
bool CmdMeshPartSection::isActive(void)
bool CmdMeshPartSection::isActive()
{
// Check for the selected mesh feature (all Mesh types)
if (getSelection().countObjectsOfType(Mesh::Feature::getClassTypeId()) != 1)
@@ -290,7 +290,7 @@ void CmdMeshPartCrossSections::activated(int iMsg)
Gui::Control().showDialog(dlg);
}
bool CmdMeshPartCrossSections::isActive(void)
bool CmdMeshPartCrossSections::isActive()
{
return (Gui::Selection().countObjectsOfType(Mesh::Feature::getClassTypeId()) > 0 &&
!Gui::Control().activeDialog());
@@ -322,7 +322,7 @@ void CmdMeshPartCurveOnMesh::activated(int)
Gui::Control().showDialog(new MeshPartGui::TaskCurveOnMesh(static_cast<Gui::View3DInventor*>(mdis.front())));
}
bool CmdMeshPartCurveOnMesh::isActive(void)
bool CmdMeshPartCurveOnMesh::isActive()
{
if (Gui::Control().activeDialog())
return false;
@@ -336,7 +336,7 @@ bool CmdMeshPartCurveOnMesh::isActive(void)
}
void CreateMeshPartCommands(void)
void CreateMeshPartCommands()
{
Gui::CommandManager &rcCmdMgr = Gui::Application::Instance->commandManager();
rcCmdMgr.addCommand(new CmdMeshPartMesher());