File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ struct OperatorTest {
6161 using ItemType = Operator;
6262
6363 static ItemType* init (const UnitTest &t) {
64- auto op = Operator::instantiate (t.name , t.param );
64+ auto * op = Operator::instantiate (t.name , t.param );
6565 assert (op != nullptr );
6666
6767 std::string error;
@@ -86,7 +86,7 @@ struct TransformationTest {
8686 using ItemType = Transformation;
8787
8888 static ItemType* init (const UnitTest &t) {
89- auto tfn = Transformation::instantiate (" t:" + t.name );
89+ auto * tfn = Transformation::instantiate (" t:" + t.name );
9090 assert (tfn != nullptr );
9191
9292 return tfn;
@@ -264,7 +264,7 @@ int main(int argc, char **argv) {
264264 if (r.size () == 0 ) {
265265 std::cout << KGRN << " 0 tests failed." ;
266266 } else {
267- for (const auto & i : r) {
267+ for (const auto * i : r) {
268268 if (i->skipped == true ) {
269269 skp++;
270270 }
You can’t perform that action at this time.
0 commit comments