Commit 38803ddc authored by Mark Olesen's avatar Mark Olesen
Browse files

STYLE: use default construct/destroy for surface writers

parent 25adff25
......@@ -264,12 +264,6 @@ Foam::ensightSurfaceReader::ensightSurfaceReader(const fileName& fName)
}
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
Foam::ensightSurfaceReader::~ensightSurfaceReader()
{}
// * * * * * * * * * * * * * Public Member Functions * * * * * * * * * * * //
const Foam::meshedSurface& Foam::ensightSurfaceReader::geometry()
......
......@@ -146,7 +146,7 @@ public:
//- Destructor
virtual ~ensightSurfaceReader();
virtual ~ensightSurfaceReader() = default;
// Member Functions
......
......@@ -42,10 +42,4 @@ Foam::surfaceReader::surfaceReader(const fileName& fName)
{}
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
Foam::surfaceReader::~surfaceReader()
{}
// ************************************************************************* //
......@@ -93,7 +93,7 @@ public:
//- Destructor
virtual ~surfaceReader();
virtual ~surfaceReader() = default;
// Member Functions
......
......@@ -33,19 +33,6 @@ namespace Foam
makeSurfaceWriterType(boundaryDataSurfaceWriter);
}
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
Foam::boundaryDataSurfaceWriter::boundaryDataSurfaceWriter()
:
surfaceWriter()
{}
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
Foam::boundaryDataSurfaceWriter::~boundaryDataSurfaceWriter()
{}
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
......
......@@ -115,11 +115,11 @@ public:
// Constructors
//- Construct null
boundaryDataSurfaceWriter();
boundaryDataSurfaceWriter() = default;
//- Destructor
virtual ~boundaryDataSurfaceWriter();
virtual ~boundaryDataSurfaceWriter() = default;
// Member Functions
......
......@@ -61,12 +61,6 @@ Foam::ensightSurfaceWriter::ensightSurfaceWriter(const dictionary& options)
}
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
Foam::ensightSurfaceWriter::~ensightSurfaceWriter()
{}
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
// Note that ensight does supports geometry in a separate file,
......
......@@ -117,7 +117,7 @@ public:
//- Destructor
virtual ~ensightSurfaceWriter();
virtual ~ensightSurfaceWriter() = default;
// Member Functions
......
......@@ -35,20 +35,6 @@ namespace Foam
}
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
Foam::foamSurfaceWriter::foamSurfaceWriter()
:
surfaceWriter()
{}
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
Foam::foamSurfaceWriter::~foamSurfaceWriter()
{}
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
Foam::fileName Foam::foamSurfaceWriter::write
......
......@@ -75,11 +75,11 @@ public:
// Constructors
//- Construct null
foamSurfaceWriter();
foamSurfaceWriter() = default;
//- Destructor
virtual ~foamSurfaceWriter();
virtual ~foamSurfaceWriter() = default;
// Member Functions
......
......@@ -48,12 +48,6 @@ Foam::proxySurfaceWriter::proxySurfaceWriter(const word& ext)
{}
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
Foam::proxySurfaceWriter::~proxySurfaceWriter()
{}
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
Foam::fileName Foam::proxySurfaceWriter::write
......
......@@ -70,7 +70,7 @@ public:
//- Destructor
virtual ~proxySurfaceWriter();
virtual ~proxySurfaceWriter() = default;
// Member Functions
......
......@@ -222,12 +222,6 @@ Foam::rawSurfaceWriter::rawSurfaceWriter(const dictionary& options)
}
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
Foam::rawSurfaceWriter::~rawSurfaceWriter()
{}
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
Foam::fileName Foam::rawSurfaceWriter::write
......
......@@ -110,7 +110,7 @@ public:
//- Destructor
virtual ~rawSurfaceWriter();
virtual ~rawSurfaceWriter() = default;
// Member Functions
......
......@@ -74,20 +74,6 @@ namespace Foam
}
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
Foam::starcdSurfaceWriter::starcdSurfaceWriter()
:
surfaceWriter()
{}
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
Foam::starcdSurfaceWriter::~starcdSurfaceWriter()
{}
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
Foam::fileName Foam::starcdSurfaceWriter::write
......
......@@ -98,11 +98,11 @@ public:
// Constructors
//- Construct null
starcdSurfaceWriter();
starcdSurfaceWriter() = default;
//- Destructor
virtual ~starcdSurfaceWriter();
virtual ~starcdSurfaceWriter() = default;
// Member Functions
......
......@@ -97,16 +97,4 @@ Foam::surfaceWriter::New(const word& writeType, const dictionary& optDict)
}
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
Foam::surfaceWriter::surfaceWriter()
{}
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
Foam::surfaceWriter::~surfaceWriter()
{}
// ************************************************************************* //
......@@ -97,11 +97,11 @@ public:
// Constructors
//- Construct null
surfaceWriter();
surfaceWriter() = default;
//- Destructor
virtual ~surfaceWriter();
virtual ~surfaceWriter() = default;
// Member Functions
......
Markdown is supported
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