Commit 7f8de9fd authored by Kučera Petr RNDr. Ph.D.'s avatar Kučera Petr RNDr. Ph.D.
Browse files

Fixes

parent de2168ae
......@@ -13,6 +13,7 @@
#include <filesystem>
#include <iostream>
#include <optional>
#include <stack>
#include <string>
#include <unordered_map>
......
......@@ -8,6 +8,7 @@
* Logical graph construction, manipulation, and querying.
*/
#include <limits>
#include <queue>
#include "logical_graph.h"
......@@ -55,9 +56,8 @@ Loco::LogicalGraph::SortEdgePoints(EdgePoints edge_points) -> EdgePoints
for (auto &[edge, point_list] : edge_points)
{
std::sort(point_list.begin(), point_list.end(),
[](const PointCPtr &a, const PointCPtr &b) {
return a->GetPosition().offset < b->GetPosition().offset;
});
[](const PointCPtr &a, const PointCPtr &b)
{ return a->GetPosition().offset < b->GetPosition().offset; });
}
return edge_points;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment