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

@@ -136,7 +136,7 @@ LinkGraphJob::~LinkGraphJob()
/* Delete old flows for source stations which have been deleted
* from the new flows. This avoids flow cycles between old and
* new flows. */
while (!erased.IsEmpty()) geflows.erase(StationID{erased.Pop()});
while (!erased.IsEmpty()) geflows.erase(erased.Pop());
} else if ((*lg)[node_id][dest_id].last_unrestricted_update == EconomyTime::INVALID_DATE) {
/* Edge is fully restricted. */
flows.RestrictFlows(to);