Skip to content
Snippets Groups Projects
Commit 90a07ff4 authored by Mark OLESEN's avatar Mark OLESEN
Browse files

BUG: enum constant in boolean context

parent d7a4088c
Branches
Tags
No related merge requests found
......@@ -90,9 +90,13 @@ void Foam::meshSubsetHelper::correct(bool verbose)
Foam::polyMesh::readUpdateState Foam::meshSubsetHelper::readUpdate()
{
polyMesh::readUpdateState meshState = baseMesh_.readUpdate();
const polyMesh::readUpdateState meshState = baseMesh_.readUpdate();
if (meshState == polyMesh::TOPO_CHANGE || polyMesh::TOPO_PATCH_CHANGE)
if
(
meshState == polyMesh::TOPO_CHANGE
|| meshState == polyMesh::TOPO_PATCH_CHANGE
)
{
correct(true);
}
......
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