Skip to content
Snippets Groups Projects
Commit 90705c7f authored by Tom Fischer's avatar Tom Fischer Committed by Dmitri Naumov
Browse files

[A/IO] Fixing warning: Use cleanupVectorElements()

parent 5cec97b0
No related branches found
No related tags found
No related merge requests found
......@@ -12,6 +12,7 @@
#include <sstream>
#include "BaseLib/Algorithm.h"
#include "GMSHAdaptiveMeshDensity.h"
#include "GMSHFixedMeshDensity.h"
#include "GeoLib/AnalyticalGeometry.h"
......@@ -44,10 +45,7 @@ GMSHPolygonTree::~GMSHPolygonTree()
// responsible to cleanup up
if (isRoot())
{ // root
for (auto* polyline : _plys)
{
delete polyline;
}
BaseLib::cleanupVectorElements(_plys);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment