mirror of
https://github.com/geode-sdk/geode.git
synced 2025-02-17 00:30:26 -05:00
Fix conversion of integer to string
This commit is contained in:
parent
ceeea0bd51
commit
e89a792293
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ size_t modifier::getFieldIndexForClass(char const* name) {
|
|||
}
|
||||
|
||||
size_t modifier::getFieldIndexForClass(size_t hash) {
|
||||
return s_nextIndex[std::string(hash)]++;
|
||||
return s_nextIndex[std::to_string(hash)]++;
|
||||
}
|
||||
|
||||
// not const because might modify contents
|
||||
|
|
Loading…
Reference in a new issue