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

missing return!
parent c6f62db8
No related branches found
No related tags found
No related merge requests found
......@@ -157,7 +157,7 @@ class MPolyhedron : public MElement {
virtual void writeMSH(FILE *fp, double version=1.0, bool binary=false,
int num=0, int elementary=1, int physical=1);
virtual int getNumParts() const { return _parts.size(); }
virtual MElement *getPart(int i) const { _parts[i]; }
virtual MElement *getPart(int i) const { return _parts[i]; }
};
class MPolygon : public MElement {
......@@ -272,7 +272,7 @@ class MPolygon : public MElement {
virtual void writeMSH(FILE *fp, double version=1.0, bool binary=false,
int num=0, int elementary=1, int physical=1);
virtual int getNumParts() const { return _parts.size(); }
virtual MElement *getPart(int i) const { _parts[i]; }
virtual MElement *getPart(int i) const { return _parts[i]; }
};
class MTriangleBorder : public MTriangle {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment