From 98685bd6b3d0e1012e2e814750fe8eee5cc29278 Mon Sep 17 00:00:00 2001 From: Henry Weller <http://cfd.direct> Date: Fri, 17 Jul 2015 18:26:58 +0100 Subject: [PATCH] Remove unnecessary use of keyword "explicit" --- .../conformalVoronoiMesh/indexedCell/indexedCell.H | 4 ++-- .../processorCyclic/processorCyclicPointPatchField.H | 7 +++---- .../MeshObjects/upwindCPCCellToFaceStencilObject.H | 4 ++-- .../sets/cellSources/fieldToCell/fieldDictionary.H | 4 ++-- 4 files changed, 9 insertions(+), 10 deletions(-) diff --git a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/conformalVoronoiMesh/indexedCell/indexedCell.H b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/conformalVoronoiMesh/indexedCell/indexedCell.H index 92905e3a439..a2eeb21c991 100644 --- a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/conformalVoronoiMesh/indexedCell/indexedCell.H +++ b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/conformalVoronoiMesh/indexedCell/indexedCell.H @@ -38,7 +38,7 @@ SourceFiles #define indexedCell_H #include "CGAL/Triangulation_3.h" -#include "CGAL/Triangulation_cell_base_with_circumcenter_3.h" +#include "CGAL/Delaunay_triangulation_cell_base_with_circumcenter_3.h" #include "indexedVertex.H" #include "List.H" #include "globalIndex.H" @@ -78,7 +78,7 @@ namespace CGAL template < class Gt, - class Cb=CGAL::Triangulation_cell_base_with_circumcenter_3<Gt> + class Cb=CGAL::Delaunay_triangulation_cell_base_with_circumcenter_3<Gt> > class indexedCell : diff --git a/src/OpenFOAM/fields/pointPatchFields/constraint/processorCyclic/processorCyclicPointPatchField.H b/src/OpenFOAM/fields/pointPatchFields/constraint/processorCyclic/processorCyclicPointPatchField.H index 6aa358b868b..ee1084541f2 100644 --- a/src/OpenFOAM/fields/pointPatchFields/constraint/processorCyclic/processorCyclicPointPatchField.H +++ b/src/OpenFOAM/fields/pointPatchFields/constraint/processorCyclic/processorCyclicPointPatchField.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -129,9 +129,8 @@ public: } - // Destructor - - ~processorCyclicPointPatchField(); + //- Destructor + virtual ~processorCyclicPointPatchField(); // Member functions diff --git a/src/finiteVolume/fvMesh/extendedStencil/cellToFace/MeshObjects/upwindCPCCellToFaceStencilObject.H b/src/finiteVolume/fvMesh/extendedStencil/cellToFace/MeshObjects/upwindCPCCellToFaceStencilObject.H index d5a359d797a..4aec7c959a6 100644 --- a/src/finiteVolume/fvMesh/extendedStencil/cellToFace/MeshObjects/upwindCPCCellToFaceStencilObject.H +++ b/src/finiteVolume/fvMesh/extendedStencil/cellToFace/MeshObjects/upwindCPCCellToFaceStencilObject.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -64,7 +64,7 @@ public: // Constructors //- Construct from uncompacted face stencil - explicit upwindCPCCellToFaceStencilObject + upwindCPCCellToFaceStencilObject ( const fvMesh& mesh, const bool pureUpwind, diff --git a/src/meshTools/sets/cellSources/fieldToCell/fieldDictionary.H b/src/meshTools/sets/cellSources/fieldToCell/fieldDictionary.H index 0935ec2b934..6bb1ca1052d 100644 --- a/src/meshTools/sets/cellSources/fieldToCell/fieldDictionary.H +++ b/src/meshTools/sets/cellSources/fieldToCell/fieldDictionary.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -64,7 +64,7 @@ public: // Constructors //- Construct from ioobject and overloaded typename. - explicit fieldDictionary(const IOobject& io, const word& type) + fieldDictionary(const IOobject& io, const word& type) : regIOobject(io), dictionary(readStream(type)), -- GitLab