Skip to content
Snippets Groups Projects
Commit 77679694 authored by Martin Christoph Hierholzer's avatar Martin Christoph Hierholzer
Browse files

avoid warning

parent 3e45171a
No related branches found
No related tags found
No related merge requests found
......@@ -17,8 +17,8 @@ namespace ChimeraTK {
bool VariableNetwork::hasFeedingNode() const {
auto n = std::count_if( nodeList.begin(), nodeList.end(),
[](const VariableNetworkNode n) {
return n.getDirection() == VariableDirection::feeding;
[](const VariableNetworkNode node) {
return node.getDirection() == VariableDirection::feeding;
} );
assert(n < 2);
return n == 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment