Add mate::TrackableObject
This commit is contained in:
parent
15f350edcb
commit
7f0658efa7
7 changed files with 95 additions and 2 deletions
|
@ -55,6 +55,10 @@ void IDWeakMap::Remove(int32_t id) {
|
|||
map_.erase(iter);
|
||||
}
|
||||
|
||||
void IDWeakMap::Clear() {
|
||||
map_.clear();
|
||||
}
|
||||
|
||||
int32_t IDWeakMap::GetNextID() {
|
||||
return ++next_id_;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue