diff options
author | Mark Mitchell <mark@markmitchell.com> | 1999-03-10 09:33:45 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 1999-03-10 09:33:45 +0000 |
commit | 5f23a307e27deb2693c2181812f3414ff73f490f (patch) | |
tree | 3ac4d5aeb83671635b2ab8fe3e37ad8f323fefc8 /gcc/cp/sig.c | |
parent | 2d7efc013da5143ba85b9bccf2880acda7180ec5 (diff) | |
download | gcc-5f23a307e27deb2693c2181812f3414ff73f490f.zip gcc-5f23a307e27deb2693c2181812f3414ff73f490f.tar.gz gcc-5f23a307e27deb2693c2181812f3414ff73f490f.tar.bz2 |
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
Diffstat (limited to 'gcc/cp/sig.c')
-rw-r--r-- | gcc/cp/sig.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/cp/sig.c b/gcc/cp/sig.c index f264d31..f1ef69f 100644 --- a/gcc/cp/sig.c +++ b/gcc/cp/sig.c @@ -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), |