aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@gcc.gnu.org>2017-05-11 18:48:55 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2017-05-11 18:48:55 +0000
commit430af3cf5a8e5f96ff3ac491a9b37e6b2989fa24 (patch)
tree7cc91da2b2973c2ae5dce0d981fdefe439489499
parent7c85c9fec43464462528c5ecfb22af8505d85431 (diff)
downloadgcc-430af3cf5a8e5f96ff3ac491a9b37e6b2989fa24.zip
gcc-430af3cf5a8e5f96ff3ac491a9b37e6b2989fa24.tar.gz
gcc-430af3cf5a8e5f96ff3ac491a9b37e6b2989fa24.tar.bz2
* libcp1plugin.cc (plugin_build_decl): Adjust add_method call.
From-SVN: r247922
-rw-r--r--libcc1/libcp1plugin.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcc1/libcp1plugin.cc b/libcc1/libcp1plugin.cc
index f67f8b3..7e30862 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;