avoid several implicit conversions, replace several old C-casts with static_cast
This commit is contained in:
@@ -458,7 +458,7 @@ void SetOperations::CollectFacets (int side, float mult)
|
||||
mb.Finish();
|
||||
|
||||
MeshAlgorithm algo(mesh);
|
||||
algo.ResetFacetFlag((MeshFacet::TFlagType)(MeshFacet::VISIT | MeshFacet::TMP0));
|
||||
algo.ResetFacetFlag(static_cast<MeshFacet::TFlagType>(MeshFacet::VISIT | MeshFacet::TMP0));
|
||||
|
||||
// bool hasFacetsNotVisited = true; // until facets not visited
|
||||
// search for facet not visited
|
||||
|
||||
Reference in New Issue
Block a user