diff --git a/src/hb-subset.cc b/src/hb-subset.cc index 996d1faf2..d5c439b6f 100644 --- a/src/hb-subset.cc +++ b/src/hb-subset.cc @@ -284,10 +284,10 @@ _try_subset (const TableType *table, } template -auto _do_destroy (T &t, hb_priority<1>) HB_RETURN (void, t.destroy ()) +static auto _do_destroy (T &t, hb_priority<1>) HB_RETURN (void, t.destroy ()) template -void _do_destroy (T &t, hb_priority<0>) {} +static void _do_destroy (T &t, hb_priority<0>) {} template static bool