Do not depend on ADL

This commit is contained in:
Yuriy Chernyshov 2021-12-29 14:41:24 +03:00 committed by GitHub
parent 1e70b645e4
commit afec06f336
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -672,7 +672,7 @@ std::vector<bool> contractGraph(ContractorGraph &graph,
// sort all remaining nodes to the beginning of the sequence // sort all remaining nodes to the beginning of the sequence
const auto begin_independent_nodes = const auto begin_independent_nodes =
stable_partition(remaining_nodes.begin(), std::stable_partition(remaining_nodes.begin(),
remaining_nodes.end(), remaining_nodes.end(),
[](RemainingNodeData node_data) { return !node_data.is_independent; }); [](RemainingNodeData node_data) { return !node_data.is_independent; });
auto begin_independent_nodes_idx = auto begin_independent_nodes_idx =