Skip to content
Snippets Groups Projects
Commit 3b17b0eb authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

fix delete

parent aac80967
No related branches found
No related tags found
No related merge requests found
......@@ -33,15 +33,13 @@
#include <string>
#include "MElement.h"
class SuperEl
{
public:
SuperEl(int order, double dist, int type, const std::vector<MVertex*> &baseVert,
const std::vector<SVector3> &normals);
~SuperEl() { _superVert.clear(); delete _superEl, _superEl0; }
~SuperEl() { _superVert.clear(); delete _superEl; delete _superEl0; }
bool isOK() const { return _superEl; }
bool isPointIn(const SPoint3 p) const;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment