From a5b6c9116080170eb2c0bb57dc5c21b59b1d0d59 Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Mon, 23 Nov 1998 18:59:48 -0500 Subject: [PATCH] revert unintended change From-SVN: r23820 --- gcc/cp/class.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gcc/cp/class.c b/gcc/cp/class.c index de283eae2dd..8adeac6dbb2 100644 --- a/gcc/cp/class.c +++ b/gcc/cp/class.c @@ -1235,9 +1235,7 @@ add_method (type, fields, method) } } - if (TREE_VEC_ELT (method_vec, i)) - /* We found a match. */; - else if (DECL_CONV_FN_P (method)) + if (DECL_CONV_FN_P (method)) { /* Type conversion operators have to come before ordinary methods; add_conversions depends on this to -- 2.30.2