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
diff --git a/lib/Bytecode/Writer/SlotTable.h b/lib/Bytecode/Writer/SlotTable.h
index 32402ea..1d10bab 100644
--- a/lib/Bytecode/Writer/SlotTable.h
+++ b/lib/Bytecode/Writer/SlotTable.h
@@ -80,7 +80,7 @@
/// 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.
);