]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Clean-up deprecated OCCT-related code
authorvsr <vsr@opencascade.com>
Mon, 25 Sep 2017 12:31:34 +0000 (15:31 +0300)
committervsr <vsr@opencascade.com>
Mon, 25 Sep 2017 12:31:34 +0000 (15:31 +0300)
src/Basics/Basics_OCCTVersion.hxx

index e7ca523c8dca981fd333b4a963e359fde2b4c5b4..ce73b22fa38275fe92d45006e7cdc23455cacbd6 100644 (file)
@@ -28,8 +28,6 @@
 
 #include <Standard_Version.hxx>
 
-#include <Standard_DefineHandle.hxx>
-
 //
 // NOTE: Since version 6.7.0 OCC_VERSION_DEVELOPMENT macro in the Standard_Version.hxx
 // points to the development status of the OCCT version: for example "dev", "alpha",
 #  endif
 #endif
 
-// temporary code for backward compatibility with OCCT
-#if OCC_VERSION_MAJOR < 7
-  #define OCCT_DEFINE_STANDARD_RTTIEXT(C1,C2) DEFINE_STANDARD_RTTI(C1)
-  #define OCCT_IMPLEMENT_STANDARD_RTTIEXT(C1,C2) \
-          IMPLEMENT_STANDARD_HANDLE(C1,C2) \
-          IMPLEMENT_STANDARD_RTTIEXT(C1,C2)
-#else
-  #define OCCT_DEFINE_STANDARD_RTTIEXT(C1,C2) DEFINE_STANDARD_RTTIEXT(C1,C2)
-  #define OCCT_IMPLEMENT_STANDARD_RTTIEXT(C1,C2) IMPLEMENT_STANDARD_RTTIEXT(C1,C2)
-#endif
-
 #endif // BASICS_OCCTVERSION_HXX