0031322: Visualization, Select3D_SensitiveEntity - method NbSubElements() should...
[occt.git] / src / Select3D / Select3D_SensitiveBox.hxx
index 06f91d0..c2a578d 100644 (file)
@@ -45,7 +45,7 @@ public:
                                          const Standard_Real theZMax);
 
   //! Returns the amount of sub-entities in sensitive
-  Standard_EXPORT virtual Standard_Integer NbSubElements() Standard_OVERRIDE;
+  Standard_EXPORT virtual Standard_Integer NbSubElements() const Standard_OVERRIDE;
 
   Standard_EXPORT virtual Handle(Select3D_SensitiveEntity) GetConnected() Standard_OVERRIDE;