Make the JS IDWeakMap a thin wrapper of C++ IDWeakMap

This commit is contained in:
Cheng Zhao 2015-06-24 13:35:39 +08:00
parent cd93b9412c
commit d02413de00
4 changed files with 16 additions and 53 deletions

View file

@ -55,7 +55,7 @@ void IDWeakMap::Remove(int32_t id) {
map_.erase(iter);
}
int IDWeakMap::GetNextID() {
int32_t IDWeakMap::GetNextID() {
return ++next_id_;
}