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:
kgv
2017-11-07 17:23:29 +03:00
committed by bugmaster
parent 510cb85241
commit b6a0525bcb
10 changed files with 47 additions and 30 deletions

View File

@@ -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);