ENH: use unique_ptr for resource handling in dynamicMesh

ENH: defaulting for destructors where possible

STYLE: clear() instead of setSize(0) for plain Lists

STYLE: use bool operator instead of valid()/empty() for autoPtr tests
This commit is contained in:
Mark Olesen
2020-05-13 12:12:24 +02:00
parent 2c3425ac1e
commit 841b65536b
118 changed files with 655 additions and 992 deletions

View File

@ -324,7 +324,6 @@ bool Foam::polyMeshGeometry::checkFaceTet
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
// Construct from components
Foam::polyMeshGeometry::polyMeshGeometry(const polyMesh& mesh)
:
mesh_(mesh)