fixed typo

This commit is contained in:
2025-10-30 05:37:34 +03:00
parent 7cb8a4de52
commit 765d5e7216

View File

@@ -13,7 +13,7 @@ namespace omath::pathfinding
{ return a.first.distance_to(point) < b.first.distance_to(point); });
if (res == m_vertex_map.cend())
return std::unexpected("Failed to get clossest point");
return std::unexpected("Failed to get closest point");
return res->first;
}