summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bytecode/Writer/SlotTable.h
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-05-25 19:09:25 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-05-25 19:09:25 +0000
commit6244bc7831c0bf534344b55f58dfbf27c0e10384 (patch)
treedcf448d0825c6e7236b8d26773bcc76d18c04961 /llvm/lib/Bytecode/Writer/SlotTable.h
parent37dd30c00a848c3f8be490e48e56075ed44eec89 (diff)
downloadbcm5719-llvm-6244bc7831c0bf534344b55f58dfbf27c0e10384.tar.gz
bcm5719-llvm-6244bc7831c0bf534344b55f58dfbf27c0e10384.zip
Make the constructor explicit so we can't implicitly convert bool to
SlotTable. llvm-svn: 13766
Diffstat (limited to 'llvm/lib/Bytecode/Writer/SlotTable.h')
-rw-r--r--llvm/lib/Bytecode/Writer/SlotTable.h2
1 files changed, 1 insertions, 1 deletions
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.
);
OpenPOWER on IntegriCloud