OCC22540 Regression: Exception during building of patch by GeomPlate
[occt.git] / src / Extrema / Extrema_HUBTreeOfSphere.hxx
index 3ac845c..babe938 100644 (file)
@@ -8,10 +8,11 @@
 
 #include <NCollection_UBTree.hxx>
 #include <NCollection_UBTreeFiller.hxx>
+#include <NCollection_Handle.hxx>
 #include <Bnd_Sphere.hxx>
 
 typedef NCollection_UBTree<Standard_Integer,Bnd_Sphere> Extrema_UBTreeOfSphere;
 typedef NCollection_UBTreeFiller<Standard_Integer,Bnd_Sphere> Extrema_UBTreeFillerOfSphere;
-DEFINE_HUBTREE(Extrema_HUBTreeOfSphere, Standard_Integer, Bnd_Sphere, MMgt_TShared)
+typedef NCollection_Handle<Extrema_UBTreeOfSphere> Extrema_HUBTreeOfSphere;
 
 #endif //_Extrema_HUBTreeOfSphere_HeaderFile