sig.c (build_signature_table_constructor): Use accessible_p instead of compute_access.

* sig.c (build_signature_table_constructor): Use accessible_p
	instead of compute_access.

From-SVN: r25667
This commit is contained in:
Mark Mitchell 1999-03-10 09:33:45 +00:00 committed by Mark Mitchell
parent 2d7efc013d
commit 5f23a307e2
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
1999-03-10 Mark Mitchell <mark@markmitchell.com>
* sig.c (build_signature_table_constructor): Use accessible_p
instead of compute_access.
1999-03-09 Jason Merrill <jason@yorick.cygnus.com>
* call.c (add_builtin_candidates): Handle overloaded conversion ops.

View File

@ -548,8 +548,7 @@ build_signature_table_constructor (sig_ty, rhs)
break;
if (rhs_methods == NULL_TREE
|| (compute_access (basetypes, rhs_method)
!= access_public_node))
|| !accessible_p (basetypes, rhs_method))
{
error ("class `%s' does not contain a method conforming to `%s'",
TYPE_NAME_STRING (rhstype),