1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-08 14:17:06 +03:00

0031322: Visualization, Select3D_SensitiveEntity - method NbSubElements() should be const

Set constant state for the method NbSubElement to be able to call it from other constant methods (e.g. DumpJson of Select3D_SensitiveEntity).
This commit is contained in:
nds
2020-01-30 10:47:55 +03:00
committed by bugmaster
parent 8811d6f2aa
commit fe758dbe2c
31 changed files with 34 additions and 30 deletions

View File

@@ -71,7 +71,7 @@ public:
Standard_EXPORT virtual void BVH() Standard_OVERRIDE;
//! Returns the amount of sub-entities (points or planar convex polygons)
Standard_EXPORT virtual Standard_Integer NbSubElements() Standard_OVERRIDE;
Standard_EXPORT virtual Standard_Integer NbSubElements() const Standard_OVERRIDE;
private: