mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix build on Apple Silicon or maybe Apple-clang-14.0
The compiler complains that there's no matching gnc_register_number_range_option for GncOptionDB*, which without this commit is true because the explicit templates are for GncOptionDBPtr&. Note that the original template definition is for GncOptionDB* and that the header-defined inlines that take GncOptionDBPtr& call the GncOptionDB* version.
This commit is contained in:
parent
283a5b7ce9
commit
3c75d212ab
@ -1312,11 +1312,11 @@ gnc_option_db_lookup_qofinstance_value(GncOptionDB* odb, const char* section,
|
||||
}
|
||||
|
||||
// Force creation of templates
|
||||
template void gnc_register_number_range_option(GncOptionDBPtr& db,
|
||||
template void gnc_register_number_range_option(GncOptionDB* db,
|
||||
const char* section, const char* name,
|
||||
const char* key, const char* doc_string,
|
||||
int value, int min, int max, int step);
|
||||
template void gnc_register_number_range_option(GncOptionDBPtr& db,
|
||||
template void gnc_register_number_range_option(GncOptionDB* db,
|
||||
const char* section, const char* name,
|
||||
const char* key, const char* doc_string,
|
||||
double value, double min,
|
||||
|
Loading…
Reference in New Issue
Block a user