This commit is contained in:
aozhiwei 2021-04-12 13:17:38 +08:00
parent f41e74d5c4
commit 40f7499e8d
2 changed files with 5 additions and 1 deletions

View File

@ -12,3 +12,7 @@ void Incubator::UnInit()
}
void Incubator::AddHoldHuman(Human* hum)
{
hold_humans_.insert(hum);
}

View File

@ -9,7 +9,7 @@ class Incubator
void Init();
void UnInit();
void AddHoldHuman(Human* num);
void AddHoldHuman(Human* hum);
private:
std::set<Human*> hold_humans_;