0024911: Avoid using virtual functions in NCollection classes
[occt.git] / src / Font / Font_NListOfSystemFont.hxx
index 64ea6e0..d8d7364 100644 (file)
 
 #ifndef _Font_NListOfSystemFont_HeaderFile
 #define _Font_NListOfSystemFont_HeaderFile
-#include <NCollection_DefineList.hxx>
+
+#include <NCollection_List.hxx>
 #include <Font_SystemFont.hxx>
-DEFINE_LIST (Font_NListOfSystemFont,
-             NCollection_List,
-             Handle(Font_SystemFont))
+
+typedef NCollection_List<Handle(Font_SystemFont)> Font_NListOfSystemFont;
 
 inline Standard_Boolean IsEqual (const Handle(Font_SystemFont)& theFirstFont,
                                  const Handle(Font_SystemFont)& theSecondFont)