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

@@ -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)
{
}