Make the constructor explicit so we can't implicitly convert bool to
SlotTable.
llvm-svn: 13766
diff --git a/llvm/lib/Bytecode/Writer/SlotTable.h b/llvm/lib/Bytecode/Writer/SlotTable.h
index 32402ea..1d10bab 100644
--- a/llvm/lib/Bytecode/Writer/SlotTable.h
+++ b/llvm/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.
);