Remove unused captured lambda reference

This commit is contained in:
Patrick Lühne 2018-04-08 20:44:02 +02:00
parent d7e4af98d7
commit e64b2e70de
Signed by: patrick
GPG Key ID: 05F3611E97A70ABF

View File

@ -59,7 +59,7 @@ bool VariableStack::contains(const VariableDeclaration &variableDeclaration) con
}; };
const auto layerContainsVariableDeclaration = const auto layerContainsVariableDeclaration =
[&variableDeclaration, &variableDeclarationMatches](const auto &layer) [&variableDeclarationMatches](const auto &layer)
{ {
return (std::find_if(layer->cbegin(), layer->cend(), variableDeclarationMatches) != layer->cend()); return (std::find_if(layer->cbegin(), layer->cend(), variableDeclarationMatches) != layer->cend());
}; };