/ssd/deal-git/source/dofs/dof_handler_policy.cc:1998:48: warning: lambda
capture 'i' is not used [-Wunused-lambda-capture]
{
Threads::TaskGroup<> tasks;
- unsigned int i = 0;
- tasks += Threads::new_task([&, i]() {
+ tasks += Threads::new_task([&]() {
merge_invalid_vertex_dofs_on_ghost_interfaces(dof_handler);
});
if (dim > 1)
{
- ++i;
- tasks += Threads::new_task([&, i]() {
+ tasks += Threads::new_task([&]() {
merge_invalid_line_dofs_on_ghost_interfaces(dof_handler);
});
}
if (dim > 2)
{
- ++i;
- tasks += Threads::new_task([&, i]() {
+ tasks += Threads::new_task([&]() {
merge_invalid_quad_dofs_on_ghost_interfaces(dof_handler);
});
}
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams