* libcp1plugin.cc (plugin_build_decl): Adjust add_method call.

From-SVN: r247922
This commit is contained in:
Nathan Sidwell 2017-05-11 18:48:55 +00:00
parent 7c85c9fec4
commit 430af3cf5a

View File

@ -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;