Commit 45e716f7 authored by Mark OLESEN's avatar Mark OLESEN Committed by Andrew Heather
Browse files

COMP: class/struct consistency between forward declaration and definition

- silence clang warnings
parent 39c91d84
......@@ -53,10 +53,12 @@ static Foam::Time const* runTimePtr_ = nullptr;
namespace Foam
{
// Register re-reader
struct addstopAtWriteNowSignalToOpt
class addstopAtWriteNowSignalToOpt
:
public ::Foam::simpleRegIOobject
{
public:
addstopAtWriteNowSignalToOpt(const char* name)
:
::Foam::simpleRegIOobject(Foam::debug::addOptimisationObject, name)
......
......@@ -53,10 +53,12 @@ namespace Foam
{
// Register re-reader
struct addwriteNowSignalToOpt
class addwriteNowSignalToOpt
:
public ::Foam::simpleRegIOobject
{
public:
addwriteNowSignalToOpt(const char* name)
:
::Foam::simpleRegIOobject(Foam::debug::addOptimisationObject, name)
......
......@@ -74,11 +74,13 @@ namespace vtk
\*---------------------------------------------------------------------------*/
//- Bookkeeping for vtkUnstructuredGrid
struct vtuAdaptor
class vtuAdaptor
:
public vtk::Caching<vtkUnstructuredGrid>,
public foamVtkMeshMaps
{
public:
// Member Functions
// Mesh Conversion
......
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