AP_Param: include defaulkts-file-parsing when AP_PARAM_DYNAMIC_ENABLED

This commit is contained in:
Peter Barker 2024-01-18 12:03:33 +11:00 committed by Peter Barker
parent e958e7b720
commit bd2d0100cd
1 changed files with 1 additions and 1 deletions

View File

@ -2144,7 +2144,7 @@ bool AP_Param::parse_param_line(char *line, char **vname, float &value, bool &re
}
#if AP_PARAM_DEFAULTS_FILE_PARSING_ENABLED
#if AP_PARAM_DEFAULTS_FILE_PARSING_ENABLED || AP_PARAM_DYNAMIC_ENABLED
// increments num_defaults for each default found in filename
bool AP_Param::count_defaults_in_file(const char *filename, uint16_t &num_defaults)