call.c (add_function_candidate): Also exclude inherited ctors that take a type refere...
authorJason Merrill <jason@redhat.com>
Fri, 2 Dec 2016 13:58:32 +0000 (08:58 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 2 Dec 2016 13:58:32 +0000 (08:58 -0500)
commit310a7f96996f46f1565376f092e08daa1d44d1e7
tree640a45ccc5f0c33858a9452d87285932880ae033
parent03fd1ef632f41caaaa38a80712ed7eda3f97fdff
call.c (add_function_candidate): Also exclude inherited ctors that take a type reference-related to the derived...

* call.c (add_function_candidate): Also exclude inherited ctors
that take a type reference-related to the derived class.

From-SVN: r243178
gcc/cp/ChangeLog
gcc/cp/call.c