Return true if a setting is set in the default config file section, and not overridden by a higher priority command-line or network section value.
Declared in <common/settings.h>
bool
OnlyHasDefaultSectionSetting(
Settings const& settings,
std::string const& section,
std::string const& name);
This is used to provide user warnings about values that might be getting ignored unintentionally.
true if the value comes only from the default config section.
| Name | Description |
|---|---|
| settings | The combined settings sources to inspect. |
| section | The config section to check (e.g. the network name). |
| name | The setting name to check. |