adjust extractor scc to new StaticGraph
This commit is contained in:
committed by
Patrick Niklaus
parent
1541d32a42
commit
f5e9c7df07
@@ -58,11 +58,12 @@ template <> struct SortableEdgeWithData<void>
|
||||
|
||||
bool operator<(const SortableEdgeWithData &right) const
|
||||
{
|
||||
if (source != right.source)
|
||||
{
|
||||
return source < right.source;
|
||||
}
|
||||
return target < right.target;
|
||||
return std::tie(source, target) < std::tie(right.source, right.target);
|
||||
}
|
||||
|
||||
bool operator==(const SortableEdgeWithData &right) const
|
||||
{
|
||||
return std::tie(source, target) == std::tie(right.source, right.target);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user