Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix -Wpedantic
  • Loading branch information
wwmayer committed Sep 18, 2019
1 parent a1e6fce commit a243b95
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions src/Mod/Mesh/Gui/SoFCMeshObject.cpp
Expand Up @@ -167,7 +167,7 @@ class SoInputStream : public std::istream

// Defines all required member variables and functions for a
// single-value field
SO_SFIELD_SOURCE(SoSFMeshObject, const Mesh::MeshObject*, const Mesh::MeshObject*);
SO_SFIELD_SOURCE(SoSFMeshObject, const Mesh::MeshObject*, const Mesh::MeshObject*)


void SoSFMeshObject::initClass()
Expand Down Expand Up @@ -286,7 +286,7 @@ void SoSFMeshObject::writeValue(SoOutput *out) const

// -------------------------------------------------------

SO_ELEMENT_SOURCE(SoFCMeshObjectElement);
SO_ELEMENT_SOURCE(SoFCMeshObjectElement)

void SoFCMeshObjectElement::initClass()
{
Expand Down Expand Up @@ -329,7 +329,7 @@ void SoFCMeshObjectElement::print(FILE * /* file */) const

// -------------------------------------------------------

SO_NODE_SOURCE(SoFCMeshPickNode);
SO_NODE_SOURCE(SoFCMeshPickNode)

/*!
Constructor.
Expand Down Expand Up @@ -401,7 +401,7 @@ void SoFCMeshPickNode::pick(SoPickAction * action)

// -------------------------------------------------------

SO_NODE_SOURCE(SoFCMeshGridNode);
SO_NODE_SOURCE(SoFCMeshGridNode)

/*!
Constructor.
Expand Down Expand Up @@ -488,7 +488,7 @@ void SoFCMeshGridNode::GLRender(SoGLRenderAction * /*action*/)

// -------------------------------------------------------

SO_NODE_SOURCE(SoFCMeshObjectNode);
SO_NODE_SOURCE(SoFCMeshObjectNode)

/*!
Constructor.
Expand Down Expand Up @@ -583,7 +583,7 @@ inline SbVec3f sbvec3f(const Base::Vector3f& _v)
return SbVec3f(_v.x, _v.y, _v.z);
}

SO_NODE_SOURCE(SoFCMeshObjectShape);
SO_NODE_SOURCE(SoFCMeshObjectShape)

void SoFCMeshObjectShape::initClass()
{
Expand Down Expand Up @@ -1254,7 +1254,7 @@ unsigned int SoFCMeshObjectShape::countTriangles(SoAction * action) const

// -------------------------------------------------------

SO_NODE_SOURCE(SoFCMeshSegmentShape);
SO_NODE_SOURCE(SoFCMeshSegmentShape)

void SoFCMeshSegmentShape::initClass()
{
Expand Down Expand Up @@ -1657,7 +1657,7 @@ void SoFCMeshSegmentShape::getPrimitiveCount(SoGetPrimitiveCountAction * action)

// -------------------------------------------------------

SO_NODE_SOURCE(SoFCMeshObjectBoundary);
SO_NODE_SOURCE(SoFCMeshObjectBoundary)

void SoFCMeshObjectBoundary::initClass()
{
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Part/Gui/ViewProviderExt.cpp
Expand Up @@ -124,7 +124,7 @@
#include <Mod/Part/App/PartFeature.h>
#include <Mod/Part/App/PrimitiveFeature.h>

FC_LOG_LEVEL_INIT("Part", true, true);
FC_LOG_LEVEL_INIT("Part", true, true)

using namespace PartGui;

Expand Down

0 comments on commit a243b95

Please sign in to comment.