mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-02 16:11:08 +03:00
gen: Make MoreThanXStatements single-arg constructor explicit [nfc]
This commit is contained in:
parent
8a9c7cf463
commit
f5e705655a
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ struct MoreThanXStatements : public StoppableVisitor {
|
|||
/// The statement count.
|
||||
unsigned count;
|
||||
|
||||
MoreThanXStatements(unsigned X) : threshold(X), count(0) {}
|
||||
explicit MoreThanXStatements(unsigned X) : threshold(X), count(0) {}
|
||||
|
||||
using StoppableVisitor::visit;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue