mirror of
https://github.com/boostorg/geometry.git
synced 2026-01-19 04:12:11 +00:00
chore: fix warnings
This commit is contained in:
@@ -80,22 +80,22 @@ void assign_counts(Turn& turn)
|
||||
}
|
||||
};
|
||||
|
||||
auto assign_left_for = [&turn, &assign_for](counts_per_op_t const& op1, counts_per_op_t op2)
|
||||
auto assign_left_for = [&assign_for](counts_per_op_t const& op1, counts_per_op_t op2)
|
||||
{
|
||||
assign_for(op1, op2, [](auto& enriched, auto count) { enriched.count_left = count; });
|
||||
};
|
||||
|
||||
auto assign_right_for = [&turn, &assign_for](counts_per_op_t const& op1, counts_per_op_t op2)
|
||||
auto assign_right_for = [&assign_for](counts_per_op_t const& op1, counts_per_op_t op2)
|
||||
{
|
||||
assign_for(op1, op2, [](auto& enriched, auto count) { enriched.count_right = count; });
|
||||
};
|
||||
|
||||
auto assign_left_incoming_for = [&turn, &assign_for](counts_per_op_t const& op1, counts_per_op_t op2)
|
||||
auto assign_left_incoming_for = [&assign_for](counts_per_op_t const& op1, counts_per_op_t op2)
|
||||
{
|
||||
assign_for(op1, op2, [](auto& enriched, auto count) { enriched.count_left_incoming = count; });
|
||||
};
|
||||
|
||||
auto assign_right_incoming_for = [&turn, &assign_for](counts_per_op_t const& op1, counts_per_op_t op2)
|
||||
auto assign_right_incoming_for = [&assign_for](counts_per_op_t const& op1, counts_per_op_t op2)
|
||||
{
|
||||
assign_for(op1, op2, [](auto& enriched, auto count) { enriched.count_right_incoming = count; });
|
||||
};
|
||||
|
||||
@@ -162,7 +162,7 @@ template <typename Turns, typename Clusters, typename Graph, typename Components
|
||||
void assign_biconnected_component_ids(Turns& turns, Clusters const& clusters, bool allow_closed,
|
||||
Graph const& graph, Components const& component, state_type const& state)
|
||||
{
|
||||
auto node_id_from_it = [&state](auto const& it)
|
||||
auto node_id_from_it = [](auto const& it)
|
||||
{
|
||||
return it->second.is_extra
|
||||
? it->second.original_node_id
|
||||
|
||||
Reference in New Issue
Block a user