0029151: GCC 7.1 warnings "this statement may fall through" [-Wimplicit-fallthrough=]
[occt.git] / src / NCollection / NCollection_EBTree.hxx
index f10a7c1..f790f20 100644 (file)
@@ -17,8 +17,8 @@
 #define NCollection_EBTree_HeaderFile
 
 #include <NCollection_UBTree.hxx>
-#include <Standard_DefineHandle.hxx>
-#include <MMgt_TShared.hxx>
+#include <Standard_Type.hxx>
+#include <Standard_Transient.hxx>
 #include <NCollection_List.hxx>
 #include <TColStd_SequenceOfInteger.hxx>
 #include <NCollection_DataMap.hxx>
@@ -117,7 +117,7 @@ Standard_Boolean NCollection_EBTree<TheObjType,TheBndType>::Add
     UBTree::Add (theObj, theBnd);
 
     // Update the map
-    TreeNode& aNewNode = ChangeLastNode();
+    TreeNode& aNewNode = this->ChangeLastNode();
     myObjNodeMap.Bind (theObj, &aNewNode);
     // If the new node is not the root (has a parent) check the neighbour node
     if (!aNewNode.IsRoot()) {
@@ -208,13 +208,13 @@ class _HEBTREE : public _HUBTREE                                        \
   const EBTree& ETree () const { return (const EBTree&) Tree(); }       \
   EBTree&       ChangeETree () { return (EBTree&) ChangeTree(); }       \
                                                                         \
-  DEFINE_STANDARD_RTTI (_HEBTREE)                                       \
+  DEFINE_STANDARD_RTTI_INLINE(_HEBTREE,_HUBTREE)                                       \
   /* Type management */                                                 \
 };                                                                      \
 DEFINE_STANDARD_HANDLE (_HEBTREE, _HUBTREE)
 
-#define IMPLEMENT_HEBTREE(_HEBTREE, _HUBTREE)                           \
-IMPLEMENT_STANDARD_HANDLE (_HEBTREE, _HUBTREE)                          \
-IMPLEMENT_STANDARD_RTTIEXT(_HEBTREE, _HUBTREE)
+#define IMPLEMENT_HEBTREE(_HEBTREE, _HUBTREE)                           
+
+
 
 #endif