Make some implicit constructors explicit
This commit is contained in:
parent
a4120f36d4
commit
504c361cb8
8 changed files with 9 additions and 8 deletions
|
|
@ -9,7 +9,7 @@ namespace tree_sitter {
|
|||
class Pattern : public Rule {
|
||||
const std::string value;
|
||||
public:
|
||||
Pattern(const std::string &string);
|
||||
explicit Pattern(const std::string &string);
|
||||
|
||||
bool operator==(const Rule& other) const;
|
||||
size_t hash_code() const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue