[debug] Minor
This commit is contained in:
parent
062cad5e28
commit
2e1d00c85b
|
@ -303,7 +303,7 @@ struct hb_auto_trace_t
|
||||||
{
|
{
|
||||||
if (unlikely (returned)) {
|
if (unlikely (returned)) {
|
||||||
fprintf (stderr, "OUCH, double calls to return_trace(). This is a bug, please report.\n");
|
fprintf (stderr, "OUCH, double calls to return_trace(). This is a bug, please report.\n");
|
||||||
return v;
|
return hb_forward<T> (v);
|
||||||
}
|
}
|
||||||
|
|
||||||
_hb_debug_msg<max_level> (what, obj, func, true, plevel ? *plevel : 1, -1,
|
_hb_debug_msg<max_level> (what, obj, func, true, plevel ? *plevel : 1, -1,
|
||||||
|
@ -312,7 +312,7 @@ struct hb_auto_trace_t
|
||||||
if (plevel) --*plevel;
|
if (plevel) --*plevel;
|
||||||
plevel = nullptr;
|
plevel = nullptr;
|
||||||
returned = true;
|
returned = true;
|
||||||
return v;
|
return hb_forward<T> (v);
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
Loading…
Reference in New Issue