1
0
Fork 0

Codechange: fix for GCC 15 two-phase lookup

* GCC 15 is more aggressive about checking dependent names

Bug: https://bugs.gentoo.org/936417
pull/12876/head
David Seifert 2024-07-22 09:27:01 +02:00
parent b2faa14ab5
commit 866cd43811
No known key found for this signature in database
GPG Key ID: CE36E117202E3842
1 changed files with 1 additions and 1 deletions

View File

@ -470,7 +470,7 @@ public:
/* set origin (tile, trackdir) */ /* set origin (tile, trackdir) */
TileIndex src_tile = v->tile; TileIndex src_tile = v->tile;
Trackdir src_td = v->GetVehicleTrackdir(); Trackdir src_td = v->GetVehicleTrackdir();
if (!HasTrackdir(GetTrackdirBitsForRoad(src_tile, this->IsTram() ? RTT_TRAM : RTT_ROAD), src_td)) { if (!HasTrackdir(GetTrackdirBitsForRoad(src_tile, Yapf().IsTram() ? RTT_TRAM : RTT_ROAD), src_td)) {
/* sometimes the roadveh is not on the road (it resides on non-existing track) /* sometimes the roadveh is not on the road (it resides on non-existing track)
* how should we handle that situation? */ * how should we handle that situation? */
return false; return false;