* libcp1plugin.cc (plugin_build_decl): Adjust add_method call.
authorNathan Sidwell <nathan@gcc.gnu.org>
Thu, 11 May 2017 18:48:55 +0000 (18:48 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Thu, 11 May 2017 18:48:55 +0000 (18:48 +0000)
From-SVN: r247922

libcc1/libcp1plugin.cc

index f67f8b34f5853650b8f1d3ee0fab128d5495ad8c..7e308620b561e05cb47da926528ebfd166101346 100644 (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;