[#common-OnlyHasDefaultSectionSetting] = xref:common.adoc[common]::OnlyHasDefaultSectionSetting :relfileprefix: ../ :mrdocs: 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. == Synopsis Declared in `<common/settings.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool OnlyHasDefaultSectionSetting( xref:common/Settings.adoc[Settings] const& settings, std::string const& section, std::string const& name); ---- == Description This is used to provide user warnings about values that might be getting ignored unintentionally. == Return Value true if the value comes only from the default config section. == Parameters [cols="1,4"] |=== | 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. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#