diff --git a/MeshLib/Elements/Element.h b/MeshLib/Elements/Element.h index f77105e586d3760f258aa87f21c892136d794754..c7dcb077addae2faca4f5b3c1686c80f3131627e 100644 --- a/MeshLib/Elements/Element.h +++ b/MeshLib/Elements/Element.h @@ -64,7 +64,7 @@ public: virtual void setNode(unsigned idx, Node* node) = 0; /// Get array of element nodes. - Node* const* getNodes() const { return _nodes; } + virtual Node* const* getNodes() const = 0; /// Get dimension of the mesh element. virtual unsigned getDimension() const = 0;