mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-17 02:49:19 +02:00
Fix the GCC 13 and MSVC builds: no brace-initialised reference from reference_wrapper, no near/far names
This commit is contained in:
@@ -359,7 +359,7 @@ bool nearest_beside(Areas_ const &Areas, glm::dvec3 const &Point, double const C
|
||||
auto best{-1.0};
|
||||
for (auto const &entry : Areas)
|
||||
{
|
||||
track_area const &area{entry};
|
||||
track_area const &area = entry;
|
||||
if (plan_distance(Point, area.centre) > area.radius + Corridor)
|
||||
continue;
|
||||
infra::station station;
|
||||
|
||||
Reference in New Issue
Block a user