Commit 54e97afb by Jason Merrill

oops

From-SVN: r18378
parent 3b3ba9f0
...@@ -5182,7 +5182,7 @@ instantiate_type (lhstype, rhs, complain) ...@@ -5182,7 +5182,7 @@ instantiate_type (lhstype, rhs, complain)
save_elem = instantiate_template (elem, t); save_elem = instantiate_template (elem, t);
/* Check the return type. */ /* Check the return type. */
if (! comptypes (TREE_TYPE (lhstype), if (! comptypes (TREE_TYPE (lhstype),
TREE_TYPE (TREE_TYPE (t)), 1)) TREE_TYPE (TREE_TYPE (save_elem)), 1))
save_elem = 0; save_elem = 0;
} }
} }
......
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