Commit c29c4e23 by Jason Merrill Committed by Jason Merrill

* pt.c (convert_nontype_argument): Fix typo.

From-SVN: r17838
parent 3ab1919c
Tue Feb 10 23:41:57 1998 Jason Merrill <jason@yorick.cygnus.com>
Tue Feb 10 23:56:46 1998 Jason Merrill <jason@yorick.cygnus.com>
* pt.c (check_explicit_specialization): Allow old-style specialization
* pt.c (convert_nontype_argument): Fix typo.
(check_explicit_specialization): Allow old-style specialization
of class template members.
Tue Feb 10 20:36:52 1998 Jason Merrill <jason@yorick.cygnus.com>
......
......@@ -1491,7 +1491,7 @@ convert_nontype_argument (type, expr)
return error_mark_node;
}
}
else if (TREE_CODE (expr_type) == VAR_DECL)
else if (TREE_CODE (expr) == VAR_DECL)
{
if (!TREE_PUBLIC (expr))
goto bad_argument;
......
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