mirror of
https://github.com/NixOS/nix.git
synced 2025-12-02 07:00:59 +01:00
libutil: Make AbstractConfig::getSettings const
This commit is contained in:
parent
920a878eaa
commit
a7fb257ec2
4 changed files with 5 additions and 5 deletions
|
|
@ -15,7 +15,7 @@ bool GlobalConfig::set(const std::string & name, const std::string & value)
|
|||
return false;
|
||||
}
|
||||
|
||||
void GlobalConfig::getSettings(std::map<std::string, SettingInfo> & res, bool overriddenOnly)
|
||||
void GlobalConfig::getSettings(std::map<std::string, SettingInfo> & res, bool overriddenOnly) const
|
||||
{
|
||||
for (auto & config : configRegistrations())
|
||||
config->getSettings(res, overriddenOnly);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue