diff --git a/src/tests/src/solver/expressions/test_TimeIndexVisitor.cpp b/src/tests/src/solver/expressions/test_TimeIndexVisitor.cpp index ffdcde49fa..98a7f2e06c 100644 --- a/src/tests/src/solver/expressions/test_TimeIndexVisitor.cpp +++ b/src/tests/src/solver/expressions/test_TimeIndexVisitor.cpp @@ -122,9 +122,8 @@ static Node* singleNode(Registry& registry) return registry.create("hello", "world"); } -static const std::vector& registry)> singleNode_ALL{ - &singleNode, - &singleNode, +static const std::vector singleNode_ALL{&singleNode, + &singleNode, &singleNode, &singleNode};