Codechange: Use StationID as StationIDStack Titem type

This commit is contained in:
Jonathan G Rennison
2025-07-19 10:48:03 +01:00
committed by rubidium42
parent cbdd358ae8
commit f0447d59d4
7 changed files with 12 additions and 12 deletions

View File

@@ -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;