Commit 741d8ca3 by Mark Mitchell

Fix typo

From-SVN: r85887
parent f7a8132a
...@@ -1896,6 +1896,8 @@ dfs_find_final_overrider_1 (tree binfo, ...@@ -1896,6 +1896,8 @@ dfs_find_final_overrider_1 (tree binfo,
tree *vpath, tree *vpath,
find_final_overrider_data *ffod) find_final_overrider_data *ffod)
{ {
tree method;
/* If BINFO is not the most derived type, try a more derived class. /* If BINFO is not the most derived type, try a more derived class.
A definition there will overrider a definition here. */ A definition there will overrider a definition here. */
if (!same_type_p (BINFO_TYPE (binfo), ffod->most_derived_type)) if (!same_type_p (BINFO_TYPE (binfo), ffod->most_derived_type))
...@@ -1910,8 +1912,7 @@ dfs_find_final_overrider_1 (tree binfo, ...@@ -1910,8 +1912,7 @@ dfs_find_final_overrider_1 (tree binfo,
return true; return true;
} }
tree method = look_for_overrides_here (BINFO_TYPE (binfo), ffod->fn); method = look_for_overrides_here (BINFO_TYPE (binfo), ffod->fn);
if (method) if (method)
{ {
tree *candidate = &ffod->candidates; tree *candidate = &ffod->candidates;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment