Commit 65b3affa authored by Tom Fischer's avatar Tom Fischer Committed by Dmitry Yu. Naumov
Browse files

[A/IO/Gmsh] Constify methods of GMSHPolygonTree.

parent f6b03c82
......@@ -499,7 +499,8 @@ void GMSHPolygonTree::getPointsFromSubPolygons(
{
for (auto const* child : *this)
{
dynamic_cast<GMSHPolygonTree*>(child)->getPointsFromSubPolygons(pnts);
dynamic_cast<GMSHPolygonTree const*>(child)->getPointsFromSubPolygons(
pnts);
}
}
......@@ -514,8 +515,8 @@ void GMSHPolygonTree::getStationsInsideSubPolygons(
for (auto const* child : *this)
{
dynamic_cast<GMSHPolygonTree*>(child)->getStationsInsideSubPolygons(
stations);
dynamic_cast<GMSHPolygonTree const*>(child)
->getStationsInsideSubPolygons(stations);
}
}
......
Markdown is supported
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