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

fix delete

parent aac80967
Branches
Tags
No related merge requests found
...@@ -33,15 +33,13 @@ ...@@ -33,15 +33,13 @@
#include <string> #include <string>
#include "MElement.h" #include "MElement.h"
class SuperEl class SuperEl
{ {
public: public:
SuperEl(int order, double dist, int type, const std::vector<MVertex*> &baseVert, SuperEl(int order, double dist, int type, const std::vector<MVertex*> &baseVert,
const std::vector<SVector3> &normals); const std::vector<SVector3> &normals);
~SuperEl() { _superVert.clear(); delete _superEl, _superEl0; } ~SuperEl() { _superVert.clear(); delete _superEl; delete _superEl0; }
bool isOK() const { return _superEl; } bool isOK() const { return _superEl; }
bool isPointIn(const SPoint3 p) const; 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