0024911: Avoid using virtual functions in NCollection classes
[occt.git] / src / AIS / AIS_NDataMapOfTransientIteratorOfListTransient.hxx
index 83a0cd9..d2ebf0f 100644 (file)
 #define _AIS_NDataMapOfTransientIteratorOfListTransient_HeaderFile
 
 #include <AIS_NListIteratorOfListTransient.hxx>
-#include <NCollection_DefineDataMap.hxx>
+#include <NCollection_DataMap.hxx>
 
-DEFINE_BASECOLLECTION(AIS_BaseCollItListTransient,
-                      AIS_NListIteratorOfListTransient)
-DEFINE_DATAMAP       (AIS_NDataMapOfTransientIteratorOfListTransient,
-                      AIS_BaseCollItListTransient,
-                      Handle(Standard_Transient),
-                      AIS_NListIteratorOfListTransient)
+typedef NCollection_DataMap<Handle(Standard_Transient), AIS_NListIteratorOfListTransient> 
+        AIS_NDataMapOfTransientIteratorOfListTransient;
 
 #endif