[llvm-commits] CVS: llvm/include/llvm/Internal/SlotTable.h
LLVM
llvm at cs.uiuc.edu
Tue May 25 14:12:01 PDT 2004
Changes in directory llvm/include/llvm/Internal:
SlotTable.h updated: 1.1 -> 1.2
---
Log message:
Make the constructor explicit so we can't implicitly convert bool to
SlotTable.
---
Diffs of the changes: (+1 -1)
Index: llvm/include/llvm/Internal/SlotTable.h
diff -u llvm/include/llvm/Internal/SlotTable.h:1.1 llvm/include/llvm/Internal/SlotTable.h:1.2
--- llvm/include/llvm/Internal/SlotTable.h:1.1 Tue May 25 13:44:51 2004
+++ llvm/include/llvm/Internal/SlotTable.h Tue May 25 14:09:25 2004
@@ -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.
);
More information about the llvm-commits
mailing list