mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0024742: Remove rarely used collection classes: Queue
Generic "TCollection_Queue" class removed (along with "TCollection_QueueNode" and three instantiations in TColStd). Template class TCollection_Queue removed. The code using queue classes converted to use lists for the same purpose (replacing Push -> Append, Front -> First, Pop -> RemoveFirst). In OpenGl_Context, list is used as stack instead of queue, for it looks more natural for release of resources (last allocated - first released).
This commit is contained in:
@@ -27,7 +27,6 @@ NCollection_Array1.hxx
|
||||
NCollection_HArray1.hxx
|
||||
NCollection_Array2.hxx
|
||||
NCollection_HArray2.hxx
|
||||
NCollection_Queue.hxx
|
||||
NCollection_Stack.hxx
|
||||
NCollection_List.hxx
|
||||
NCollection_SList.hxx
|
||||
@@ -52,7 +51,6 @@ NCollection_DefineDataMap.hxx
|
||||
NCollection_DefineDoubleMap.hxx
|
||||
NCollection_DefineIndexedMap.hxx
|
||||
NCollection_DefineIndexedDataMap.hxx
|
||||
NCollection_DefineQueue.hxx
|
||||
NCollection_DefineSList.hxx
|
||||
NCollection_DefineSequence.hxx
|
||||
NCollection_DefineHSequence.hxx
|
||||
|
Reference in New Issue
Block a user