Fix some warnings on gcc 11
This commit is contained in:
parent
39a6c13c81
commit
ed67fb506e
3 changed files with 4 additions and 3 deletions
|
@ -705,7 +705,7 @@ bool CLI::setup(int argc, char **argv)
|
|||
|
||||
// Initialize with defaults.
|
||||
for (const t_optiondef_map *options : { &cli_actions_config_def.options, &cli_transform_config_def.options, &cli_misc_config_def.options })
|
||||
for (const std::pair<t_config_option_key, ConfigOptionDef> &optdef : *options)
|
||||
for (const t_optiondef_map::value_type &optdef : *options)
|
||||
m_config.option(optdef.first, true);
|
||||
|
||||
set_data_dir(m_config.opt_string("datadir"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue