0032153: Visualization, Graphic3d_ArrayOfPrimitives - share common allocator
[occt.git] / src / Select3D / Select3D_SensitivePrimitiveArray.cxx
index 96e9922..00939c5 100644 (file)
@@ -15,7 +15,6 @@
 
 #include <Select3D_SensitivePrimitiveArray.hxx>
 
-#include <NCollection_AlignedAllocator.hxx>
 #include <OSD_Parallel.hxx>
 #include <Standard_Atomic.hxx>
 
@@ -165,7 +164,7 @@ Select3D_SensitivePrimitiveArray::Select3D_SensitivePrimitiveArray (const Handle
   myPatchSizeMax (1),
   myPatchDistance (ShortRealLast()),
   myIs3d (false),
-  myBvhIndices (new NCollection_AlignedAllocator(16)),
+  myBvhIndices (Graphic3d_Buffer::DefaultAllocator()),
   myMinDepthElem (RealLast()),
   myMinDepthNode (RealLast()),
   myMinDepthEdge (RealLast()),