Salome HOME
Optimize SMDS_MeshElement::GetNodeIndex()
[modules/smesh.git] / src / SMDS / SMDS_MeshElement.hxx
index 78238dcea1eb24053e6e1ffe52a31853f643012c..0451789422b714e3891194c5122790a824fd68d1 100644 (file)
@@ -141,7 +141,7 @@ public:
     * \param node - the node to check
     * \retval int - node index within the element, -1 if not found
    */
-  int GetNodeIndex( const SMDS_MeshNode* node ) const;
+  virtual int GetNodeIndex( const SMDS_MeshNode* node ) const;
 
   inline ShortType getMeshId()  const { return myMeshId; }
   inline LongType  getshapeId() const { return myShapeId; }