Make the JS IDWeakMap a thin wrapper of C++ IDWeakMap
This commit is contained in:
parent
cd93b9412c
commit
d02413de00
4 changed files with 16 additions and 53 deletions
|
@ -55,7 +55,7 @@ void IDWeakMap::Remove(int32_t id) {
|
|||
map_.erase(iter);
|
||||
}
|
||||
|
||||
int IDWeakMap::GetNextID() {
|
||||
int32_t IDWeakMap::GetNextID() {
|
||||
return ++next_id_;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue