0031322: Visualization, Select3D_SensitiveEntity - method NbSubElements() should...
[occt.git] / src / Select3D / Select3D_SensitiveTriangulation.hxx
index 2d384f3..7232978 100644 (file)
@@ -55,7 +55,7 @@ public:
                                                    const Standard_Boolean theIsInterior);
 
   //! Returns the amount of nodes in triangulation
-  Standard_EXPORT virtual Standard_Integer NbSubElements() Standard_OVERRIDE;
+  Standard_EXPORT virtual Standard_Integer NbSubElements() const Standard_OVERRIDE;
 
   Standard_EXPORT Handle(Select3D_SensitiveEntity) GetConnected() Standard_OVERRIDE;