Make some implicit constructors explicit
This commit is contained in:
parent
a4120f36d4
commit
504c361cb8
8 changed files with 9 additions and 8 deletions
|
|
@ -16,7 +16,7 @@ namespace tree_sitter {
|
|||
|
||||
class PatternParser {
|
||||
public:
|
||||
PatternParser(const string &input) :
|
||||
explicit PatternParser(const string &input) :
|
||||
input(input),
|
||||
length(input.length()),
|
||||
position(0) {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue