Commit 080cc5c6 authored by Dennis Gläser's avatar Dennis Gläser
Browse files

Merge branch 'feature/ex4-avoid-warning-with-clang' into 'master'

[ex4] do not capture variable in lambda

See merge request tools/frackit!170
parents cb1e0c4a 81aeddd3
......@@ -267,7 +267,7 @@ int main(int argc, char** argv)
// after rejecting 500 candidates for an entity, we move to the next one
const std::size_t maxTriesForEntity = 500;
auto printSkipMessage = [&maxTriesForEntity] ()
auto printSkipMessage = [&] ()
{
std::cout << "\t\t -- Skipped search for this entity after "
<< maxTriesForEntity << " unsuccessful tries. --" << std::endl;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment