Improve debug log format in presence of templates
This commit is contained in:
parent
2c53bd3c3e
commit
adf7758a27
|
@ -588,7 +588,11 @@ _hb_debug_msg_va (const char *what,
|
|||
} else
|
||||
fprintf (stderr, " " VRBAR LBAR);
|
||||
|
||||
if (func) {
|
||||
if (func)
|
||||
{
|
||||
/* Skip "typename" */
|
||||
if (0 == strncmp (func, "typename ", 9))
|
||||
func += 9;
|
||||
/* Skip return type */
|
||||
const char *space = strchr (func, ' ');
|
||||
if (space)
|
||||
|
|
Loading…
Reference in New Issue