0027794: A danger in the 'NCollection_Vector' initializing constructor
[occt.git] / src / NCollection / NCollection_Vector.hxx
index e7b89df..410d4db 100755 (executable)
@@ -152,8 +152,8 @@ public:
 public: //! @name public methods
 
   //! Constructor
-  NCollection_Vector (const Standard_Integer theIncrement              = 256,
-                      const Handle(NCollection_BaseAllocator)& theAlloc = NULL) :
+  explicit NCollection_Vector (const Standard_Integer theIncrement              = 256,
+                               const Handle(NCollection_BaseAllocator)& theAlloc = NULL) :
     NCollection_BaseVector (theAlloc, initMemBlocks, sizeof(TheItemType), theIncrement)
   {}