From: Nathan Sidwell Date: Thu, 11 May 2017 18:48:55 +0000 (+0000) Subject: * libcp1plugin.cc (plugin_build_decl): Adjust add_method call. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=430af3cf5a8e5f96ff3ac491a9b37e6b2989fa24;p=gcc.git * libcp1plugin.cc (plugin_build_decl): Adjust add_method call. From-SVN: r247922 --- diff --git a/libcc1/libcp1plugin.cc b/libcc1/libcp1plugin.cc index f67f8b34f58..7e308620b56 100644 --- a/libcc1/libcp1plugin.cc +++ b/libcc1/libcp1plugin.cc @@ -812,7 +812,7 @@ safe_pushdecl_maybe_friend (tree decl, bool is_friend) save_oracle = cp_binding_oracle; cp_binding_oracle = NULL; - tree ret = pushdecl_maybe_friend (decl, is_friend); + tree ret = pushdecl (decl, is_friend); cp_binding_oracle = save_oracle;