From 6244bc7831c0bf534344b55f58dfbf27c0e10384 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Tue, 25 May 2004 19:09:25 +0000 Subject: Make the constructor explicit so we can't implicitly convert bool to SlotTable. llvm-svn: 13766 --- llvm/lib/Bytecode/Writer/SlotTable.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Bytecode') diff --git a/llvm/lib/Bytecode/Writer/SlotTable.h b/llvm/lib/Bytecode/Writer/SlotTable.h index 32402eabf93..1d10babfe62 100644 --- a/llvm/lib/Bytecode/Writer/SlotTable.h +++ b/llvm/lib/Bytecode/Writer/SlotTable.h @@ -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. ); -- cgit v1.2.3