Skip to content
GitLab
Explore
Sign in
Register
This is an archived project. Repository and other project resources are read-only.
Commits on Source (1)
COMP: upgrade from deprecated dictionary lookupEntry
· ec1a1cd9
Mark OLESEN
authored
Oct 02, 2019
- use keyType::LITERAL instead of (false, false)
ec1a1cd9
Hide whitespace changes
Inline
Side-by-side
meshLibrary/utilities/checkMeshDict/checkMeshDict.C
View file @
ec1a1cd9
...
...
@@ -249,7 +249,7 @@ void Foam::Module::checkMeshDict::checkObjectRefinements() const
forAll
(
refObjects
,
objectI
)
{
const
entry
&
objectEntry
=
dict
.
lookupEntry
(
objectNames
[
objectI
],
false
,
false
);
dict
.
lookupEntry
(
objectNames
[
objectI
],
keyType
::
LITERAL
);
refObjects
.
set
(
...
...
@@ -312,7 +312,7 @@ void Foam::Module::checkMeshDict::checkAnisotropicSources() const
forAll
(
anisotropicObjects
,
objectI
)
{
const
entry
&
objectEntry
=
dict
.
lookupEntry
(
objectNames
[
objectI
],
false
,
false
);
dict
.
lookupEntry
(
objectNames
[
objectI
],
keyType
::
LITERAL
);
anisotropicObjects
.
set
(
...
...
meshLibrary/utilities/octrees/meshOctree/meshOctreeCreator/meshOctreeCreatorAdjustOctreeToSurface.C
View file @
ec1a1cd9
...
...
@@ -208,7 +208,7 @@ void Foam::Module::meshOctreeCreator::refineBoxesContainedInObjects()
forAll
(
refObjects
,
objectI
)
{
const
entry
&
objectEntry
=
dict
.
lookupEntry
(
objectNames
[
objectI
],
false
,
false
);
dict
.
lookupEntry
(
objectNames
[
objectI
],
keyType
::
LITERAL
);
refObjects
.
set
(
...
...
meshLibrary/utilities/surfaceTools/renameBoundaryPatches/renameBoundaryPatches.C
View file @
ec1a1cd9
...
...
@@ -77,8 +77,7 @@ void Foam::Module::renameBoundaryPatches::calculateNewBoundary()
newPatchNames
.
lookupEntry
(
keys
[
patchI
],
false
,
false
keyType
::
LITERAL
).
clone
()
);
}
...
...