Commit 45c29be3 authored by Mark OLESEN's avatar Mark OLESEN
Browse files

COMP: avoid clang compiler warnings

parent 1dc32368
...@@ -536,12 +536,7 @@ Foam::label Foam::DistributedDelaunayMesh<Triangulation>::referVertices ...@@ -536,12 +536,7 @@ Foam::label Foam::DistributedDelaunayMesh<Triangulation>::referVertices
if (!pointsNotInserted.empty()) if (!pointsNotInserted.empty())
{ {
for forAllConstIters(pointsNotInserted, iter)
(
labelPairHashSet::const_iterator iter = pointsNotInserted.begin();
iter != pointsNotInserted.end();
++iter
)
{ {
if (receivedVertices.found(iter.key())) if (receivedVertices.found(iter.key()))
{ {
......
...@@ -25,12 +25,16 @@ License ...@@ -25,12 +25,16 @@ License
#include "edgeFaceCirculator.H" #include "edgeFaceCirculator.H"
#include "primitiveMesh.H" #include "primitiveMesh.H"
#include "nullObject.H"
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * // // * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
const Foam::edgeFaceCirculator Foam::edgeFaceCirculator::endConstIter const Foam::edgeFaceCirculator Foam::edgeFaceCirculator::endConstIter
( (
*reinterpret_cast<primitiveMesh*>(0), // primitiveMesh *reinterpret_cast<const primitiveMesh*>
(
NullObject::nullObject.pointer() // nullptr dummy
),
-1, // faceLabel -1, // faceLabel
false, // ownerSide false, // ownerSide
-1, // index -1, // index
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment