summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/include/llvm/Internal/SlotTable.h2
-rw-r--r--llvm/lib/Bytecode/Writer/SlotTable.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/Internal/SlotTable.h b/llvm/include/llvm/Internal/SlotTable.h
index 32402eabf93..1d10babfe62 100644
--- a/llvm/include/llvm/Internal/SlotTable.h
+++ b/llvm/include/llvm/Internal/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.
);
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