Make some implicit constructors explicit

This commit is contained in:
Max Brunsfeld 2014-03-09 22:53:49 -07:00
parent a4120f36d4
commit 504c361cb8
8 changed files with 9 additions and 8 deletions

View file

@ -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) {}