17
0
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:
maj00r
2026-10-04 02:49:05 +02:00
parent ac82db8178
commit 9bd8226c51
4 changed files with 10 additions and 10 deletions

View File

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