mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-18 17:06:14 +08:00
0029299: Foundation Classes, NCollection - define explicit empty constructor for map classes
Ambiguous constructors have been marked with explicit keyword for classes NCollection_DataMap, NCollection_DoubleMap, NCollection_IndexedDataMap, NCollection_IndexedMap, NCollection_List, NCollection_LocalArray, NCollection_Map, NCollection_Sequence, NCollection_SparseArray, NCollection_UBTree,
This commit is contained in:
@@ -49,7 +49,7 @@ template <class TheItemType> class NCollection_SparseArray
|
||||
public:
|
||||
|
||||
//! Constructor; accepts size of blocks
|
||||
NCollection_SparseArray (Standard_Size theIncrement)
|
||||
explicit NCollection_SparseArray (Standard_Size theIncrement)
|
||||
: NCollection_SparseArrayBase(sizeof(TheItemType),theIncrement)
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user