1
This commit is contained in:
parent
0f3c154067
commit
2f1114fc1e
@ -569,7 +569,7 @@ void Incubator::Rearrangement()
|
|||||||
if (team_num_hash.find(hum->team_id) != team_num_hash.end()) {
|
if (team_num_hash.find(hum->team_id) != team_num_hash.end()) {
|
||||||
++team_num_hash[hum->team_id];
|
++team_num_hash[hum->team_id];
|
||||||
} else {
|
} else {
|
||||||
team_num_hash[hum->team_id];
|
team_num_hash[hum->team_id] = 1;
|
||||||
}
|
}
|
||||||
hum->sort_id = i;
|
hum->sort_id = i;
|
||||||
++i;
|
++i;
|
||||||
@ -614,11 +614,11 @@ void Incubator::Rearrangement()
|
|||||||
}
|
}
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
{
|
{
|
||||||
std::string data = "Rearrangement ";
|
std::string data = "Rearrangement team_id:" + a8::XValue(team_id).GetString() + " ";
|
||||||
for (auto hum : hold_humans_) {
|
for (auto hum : hold_humans_) {
|
||||||
data += a8::XValue(hum->team_id) + ",";
|
data += a8::XValue(hum->team_id).GetString() + ",";
|
||||||
}
|
}
|
||||||
a8::XPrintf("%s\n", {data});
|
a8::XPrintf("%s !%d %d %d\n", {data, teams2.size(), teams3.size(), teams4.size()});
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user