mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-06-11 00:37:04 +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:
@@ -24,7 +24,7 @@ template<class theItem, Standard_Integer MAX_ARRAY_SIZE = 1024> class NCollectio
|
||||
{
|
||||
public:
|
||||
|
||||
NCollection_LocalArray (const size_t theSize)
|
||||
explicit NCollection_LocalArray (const size_t theSize)
|
||||
: myPtr (myBuffer)
|
||||
{
|
||||
Allocate(theSize);
|
||||
|
||||
Reference in New Issue
Block a user