0024814: Avoid using explicit names of Handle classes
[occt.git] / src / NCollection / NCollection_BaseCollection.hxx
index f4d9682..a36bac3 100644 (file)
@@ -105,7 +105,7 @@ template<class TheItemType> class NCollection_BaseCollection
   const Handle(NCollection_BaseAllocator)& IterAllocator(void) const
   { 
     if (myIterAllocator.IsNull())
-      (Handle_NCollection_BaseAllocator&) myIterAllocator =
+      (Handle(NCollection_BaseAllocator)&) myIterAllocator =
         new NCollection_IncAllocator(64);
     return myIterAllocator;
   }