Make the constructor explicit so we can't implicitly convert bool to

SlotTable.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13766 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer 2004-05-25 19:09:25 +00:00
parent 3751bd607b
commit a85b8cf110
2 changed files with 2 additions and 2 deletions

View File

@ -80,7 +80,7 @@ public:
/// SlotTable will need the primitive types. If you don't need them, pass
/// in true.
/// @brief Default Constructor
SlotTable(
explicit SlotTable(
bool dont_insert_primitives = false ///< Control insertion of primitives.
);

View File

@ -80,7 +80,7 @@ public:
/// SlotTable will need the primitive types. If you don't need them, pass
/// in true.
/// @brief Default Constructor
SlotTable(
explicit SlotTable(
bool dont_insert_primitives = false ///< Control insertion of primitives.
);