From: eap Date: Mon, 29 Jul 2013 11:48:56 +0000 (+0000) Subject: Optimize SMDS_MeshElement::GetNodeIndex() X-Git-Tag: V7_3_0a1~245 X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=commitdiff_plain;h=da2b448af1bb4684d1815c563614079383bce827 Optimize SMDS_MeshElement::GetNodeIndex() - int GetNodeIndex( const SMDS_MeshNode* node ) const; + virtual int GetNodeIndex( const SMDS_MeshNode* node ) const; --- diff --git a/src/SMDS/SMDS_MeshElement.hxx b/src/SMDS/SMDS_MeshElement.hxx index 78238dcea..045178942 100644 --- a/src/SMDS/SMDS_MeshElement.hxx +++ b/src/SMDS/SMDS_MeshElement.hxx @@ -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; }