From 430af3cf5a8e5f96ff3ac491a9b37e6b2989fa24 Mon Sep 17 00:00:00 2001 From: Nathan Sidwell Date: Thu, 11 May 2017 18:48:55 +0000 Subject: [PATCH] * libcp1plugin.cc (plugin_build_decl): Adjust add_method call. From-SVN: r247922 --- libcc1/libcp1plugin.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2