mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-02 10:33:53 +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:
parent
3751bd607b
commit
a85b8cf110
@ -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.
|
||||
);
|
||||
|
||||
|
@ -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.
|
||||
);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user