Remove uses of 'short' and 'long'

This commit is contained in:
Max Brunsfeld 2014-03-09 22:58:17 -07:00
parent 632a88c8ef
commit 39cb420df2
3 changed files with 4 additions and 4 deletions

View file

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