mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-13 07:03:25 +00:00
fixed typo
This commit is contained in:
@@ -13,7 +13,7 @@ namespace omath::pathfinding
|
|||||||
{ return a.first.distance_to(point) < b.first.distance_to(point); });
|
{ return a.first.distance_to(point) < b.first.distance_to(point); });
|
||||||
|
|
||||||
if (res == m_vertex_map.cend())
|
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;
|
return res->first;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user