diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2004-05-25 19:09:25 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2004-05-25 19:09:25 +0000 |
commit | 6244bc7831c0bf534344b55f58dfbf27c0e10384 (patch) | |
tree | dcf448d0825c6e7236b8d26773bcc76d18c04961 /llvm/lib/Bytecode/Writer/SlotTable.h | |
parent | 37dd30c00a848c3f8be490e48e56075ed44eec89 (diff) | |
download | bcm5719-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.h | 2 |
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. ); |