Skip to content
Snippets Groups Projects
Commit 0dfab97c authored by Carsten Gräser's avatar Carsten Gräser
Browse files

[cleanup] Remove unused capture in lambda expression

parent 8be96137
Branches
No related tags found
1 merge request!253[cleanup] Fix warnings
......@@ -49,7 +49,7 @@ auto checkLogger(std::string format, std::string prefixRegex)
auto logger = callMakeSynchronizedLogger(sstream, format, mutex);
auto threads = std::vector<std::thread>();
for(auto i: Dune::range(3))
threads.emplace_back([&,i]() {
threads.emplace_back([&]() {
for([[maybe_unused]] auto i: Dune::range(3))
{
using namespace std::chrono_literals;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment