[util] Add empty virtual destructor to option_group_t
From clang -Weverything bot: ./options.hh:57:8: warning: 'option_group_t' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor] struct option_group_t ^
This commit is contained in:
parent
b1e07e1e6c
commit
e910a1aef4
@ -56,6 +56,8 @@ void fail (hb_bool_t suggest_help, const char *format, ...) G_GNUC_NORETURN G_GN
|
||||
|
||||
struct option_group_t
|
||||
{
|
||||
virtual ~option_group_t () {}
|
||||
|
||||
virtual void add_options (struct option_parser_t *parser) = 0;
|
||||
|
||||
virtual void pre_parse (GError **error G_GNUC_UNUSED) {};
|
||||
|
Loading…
Reference in New Issue
Block a user