0024911: Avoid using virtual functions in NCollection classes
[occt.git] / src / Prs3d / Prs3d_NListOfSequenceOfPnt.hxx
index 7a60689..84ed2ce 100644 (file)
 #define Prs3d_NListOfSequenceOfPnt_HeaderFile
 
 #include <TColgp_SequenceOfPnt.hxx>
-#include <NCollection_DefineList.hxx>
-#include <NCollection_DefineBaseCollection.hxx>
+#include <NCollection_List.hxx>
 
-DEFINE_BASECOLLECTION(Prs3d_BaseCollListOfSequenceOfPnt,
-                      TColgp_SequenceOfPnt)
-DEFINE_LIST          (Prs3d_NListOfSequenceOfPnt,
-                      Prs3d_BaseCollListOfSequenceOfPnt,
-                      TColgp_SequenceOfPnt)
+typedef NCollection_List<TColgp_SequenceOfPnt> Prs3d_NListOfSequenceOfPnt;
 
 #endif
-
-
-
-