mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: make polyMesh constructor explicit
- use polyMesh::defaultRegion instead of fvMesh::defaultRegion and others via static inheritance. (92 vs ~25 occurrences)
This commit is contained in:
@ -56,7 +56,7 @@ public:
|
||||
// Constructors
|
||||
|
||||
//- Construct from IOobject
|
||||
fluentFvMesh(const IOobject& io);
|
||||
explicit fluentFvMesh(const IOobject& io);
|
||||
|
||||
|
||||
// Member functions
|
||||
|
||||
@ -59,7 +59,7 @@ int main(int argc, char *argv[])
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
fluentFvMesh::defaultRegion,
|
||||
polyMesh::defaultRegion,
|
||||
runTime.constant(),
|
||||
runTime
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user