mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-13 23:25:06 +00:00
Make the constructor explicit so we can't implicitly convert bool to
SlotTable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13766 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -80,7 +80,7 @@ public:
|
|||||||
/// SlotTable will need the primitive types. If you don't need them, pass
|
/// SlotTable will need the primitive types. If you don't need them, pass
|
||||||
/// in true.
|
/// in true.
|
||||||
/// @brief Default Constructor
|
/// @brief Default Constructor
|
||||||
SlotTable(
|
explicit SlotTable(
|
||||||
bool dont_insert_primitives = false ///< Control insertion of primitives.
|
bool dont_insert_primitives = false ///< Control insertion of primitives.
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@@ -80,7 +80,7 @@ public:
|
|||||||
/// SlotTable will need the primitive types. If you don't need them, pass
|
/// SlotTable will need the primitive types. If you don't need them, pass
|
||||||
/// in true.
|
/// in true.
|
||||||
/// @brief Default Constructor
|
/// @brief Default Constructor
|
||||||
SlotTable(
|
explicit SlotTable(
|
||||||
bool dont_insert_primitives = false ///< Control insertion of primitives.
|
bool dont_insert_primitives = false ///< Control insertion of primitives.
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user