Codechange: Use StationID as StationIDStack Titem type
This commit is contained in:
committed by
rubidium42
parent
cbdd358ae8
commit
f0447d59d4
@@ -5079,7 +5079,7 @@ StationIDStack FlowStatMap::DeleteFlows(StationID via)
|
||||
FlowStat &s_flows = f_it->second;
|
||||
s_flows.ChangeShare(via, INT_MIN);
|
||||
if (s_flows.GetShares()->empty()) {
|
||||
ret.Push(f_it->first.base());
|
||||
ret.Push(f_it->first);
|
||||
this->erase(f_it++);
|
||||
} else {
|
||||
++f_it;
|
||||
|
||||
Reference in New Issue
Block a user