Remove uses of 'short' and 'long'
This commit is contained in:
parent
632a88c8ef
commit
39cb420df2
3 changed files with 4 additions and 4 deletions
|
|
@ -21,7 +21,7 @@ namespace tree_sitter {
|
|||
}
|
||||
|
||||
size_t Symbol::hash_code() const {
|
||||
return hash<string>()(name) ^ hash<short int>()(type);
|
||||
return hash<string>()(name) ^ hash<int16_t>()(type);
|
||||
}
|
||||
|
||||
rule_ptr Symbol::copy() const {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue