diff options
author | Jason Merrill <jason@gcc.gnu.org> | 2001-01-02 14:37:39 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2001-01-02 14:37:39 -0500 |
commit | 381ddaa6e1e86b6c4b6702ee0ece25d81d19f7fa (patch) | |
tree | 520182cbfb3ff28716e038ae450ea465878e67d4 | |
parent | e2134eead7517617e1824633b26560e9b5d09672 (diff) | |
download | gcc-381ddaa6e1e86b6c4b6702ee0ece25d81d19f7fa.zip gcc-381ddaa6e1e86b6c4b6702ee0ece25d81d19f7fa.tar.gz gcc-381ddaa6e1e86b6c4b6702ee0ece25d81d19f7fa.tar.bz2 |
tweak formatting
From-SVN: r38635
-rw-r--r-- | gcc/cp/class.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/cp/class.c b/gcc/cp/class.c index db4b480..6373268 100644 --- a/gcc/cp/class.c +++ b/gcc/cp/class.c @@ -5876,8 +5876,7 @@ resolve_address_of_overloaded_function (target_type, /* Check that the TARGET_TYPE is reasonable. */ if (TYPE_PTRFN_P (target_type)) - /* This is OK. */ - ; + /* This is OK. */; else if (TYPE_PTRMEMFUNC_P (target_type)) /* This is OK, too. */ is_ptrmem = 1; @@ -5891,8 +5890,9 @@ resolve_address_of_overloaded_function (target_type, else { if (complain) - cp_error("cannot resolve overloaded function `%D' based on conversion to type `%T'", - DECL_NAME (OVL_FUNCTION (overload)), target_type); + cp_error ("\ +cannot resolve overloaded function `%D' based on conversion to type `%T'", + DECL_NAME (OVL_FUNCTION (overload)), target_type); return error_mark_node; } |