src/OpenFOAM: Rationalised use of enumerations by using the C++11 scoped form

for

    db/functionObjects/timeControl/timeControl.H: timeControls
    primitives/bools/Switch/Switch.H: class switchType
    primitives/strings/fileName/fileName.H: fileType
    primitives/strings/wordRe/wordRe.H: compOption
This commit is contained in:
Henry Weller
2018-08-25 07:26:51 +01:00
parent 61c9bc2ee3
commit 8ed92de98c
33 changed files with 271 additions and 217 deletions

View File

@ -243,7 +243,7 @@ Foam::cvControls::cvControls
if (filterFaces_)
{
filterEdges_ = Switch::ON;
filterEdges_ = Switch::switchType::on;
}
writeTetDualMesh_ = Switch(filteringDict.lookup("writeTetDualMesh"));