1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

Make the constructor explicit so we can't implicitly convert bool to

SlotTable.

llvm-svn: 13766
This commit is contained in:
Reid Spencer 2004-05-25 19:09:25 +00:00
parent dc5f9c805c
commit 8e6d7148c1
2 changed files with 2 additions and 2 deletions

View File

@ -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.
);

View File

@ -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.
);