on macmini the compiler seems to apply the copy constructor and complain
about it. that rather seems to be a compiler problem, but this small change
works around it.
committing it at my discretion.
// Uncommon address family. The actual behavior doesn't matter much
// in practice, but we check such input doesn't make it crash.
- checkEndpointText("2001:db8::bad:add:42", TestIOEndpoint());
+ // We explicitly instantiate the test EP because otherwise some compilers
+ // would be confused and complain.
+ TestIOEndpoint test_ep;
+ checkEndpointText("2001:db8::bad:add:42", test_ep);
}
}