]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/SketcherPrs/SketcherPrs_SensitivePoint.h
Salome HOME
Build SHAPER with dev version of OCCT (IR-2020-07-10)
[modules/shaper.git] / src / SketcherPrs / SketcherPrs_SensitivePoint.h
index e3ef209548761adddf90be08147c9d09879274b9..68aeeda1fbcffab9517f2682b8ab274f5cecec9b 100644 (file)
@@ -23,6 +23,7 @@
 #include <SelectBasics_EntityOwner.hxx>
 #include <Select3D_SensitiveEntity.hxx>
 #include <Standard_DefineHandle.hxx>
+#include <Standard_Version.hxx>
 
 
 DEFINE_STANDARD_HANDLE(SketcherPrs_SensitivePoint, Select3D_SensitiveEntity)
@@ -42,8 +43,11 @@ public:
                                              int theId);
 
   /// Returns number of sub-elements
+#if OCC_VERSION_HEX > 0x070400
+  Standard_EXPORT virtual Standard_Integer NbSubElements() const Standard_OVERRIDE;
+#else
   Standard_EXPORT virtual Standard_Integer NbSubElements() Standard_OVERRIDE;
-
+#endif
   //! Update location of the point
   Standard_EXPORT virtual Handle(Select3D_SensitiveEntity) GetConnected() Standard_OVERRIDE;