0024911: Avoid using virtual functions in NCollection classes
[occt.git] / src / Visual3d / Visual3d_NListOfLayerItem.hxx
index a11f7aa..bd8a875 100644 (file)
 #ifndef _Visual3d_NListOfLayerItem_HeaderFile
 #define _Visual3d_NListOfLayerItem_HeaderFile
 
-#include <NCollection_DefineList.hxx>
+#include <NCollection_List.hxx>
 #include <Visual3d_LayerItem.hxx>
 
-DEFINE_LIST   (Visual3d_NListOfLayerItem,
-               NCollection_List,
-               Handle(Visual3d_LayerItem))
+typedef NCollection_List<Handle(Visual3d_LayerItem)> Visual3d_NListOfLayerItem;
 
 #endif