mirror of
https://github.com/NixOS/nix.git
synced 2024-11-25 00:02:25 +00:00
Format config-global.{cc,hh}
Since the code is factored out, it is no longer avoding the formatter.
This commit is contained in:
parent
1620ad4587
commit
b46e13840b
@ -5,7 +5,8 @@ namespace nix {
|
||||
bool GlobalConfig::set(const std::string & name, const std::string & value)
|
||||
{
|
||||
for (auto & config : *configRegistrations)
|
||||
if (config->set(name, value)) return true;
|
||||
if (config->set(name, value))
|
||||
return true;
|
||||
|
||||
unknownSettings.emplace(name, value);
|
||||
|
||||
|
@ -7,7 +7,7 @@ namespace nix {
|
||||
|
||||
struct GlobalConfig : public AbstractConfig
|
||||
{
|
||||
typedef std::vector<Config*> ConfigRegistrations;
|
||||
typedef std::vector<Config *> ConfigRegistrations;
|
||||
static ConfigRegistrations * configRegistrations;
|
||||
|
||||
bool set(const std::string & name, const std::string & value) override;
|
||||
|
Loading…
Reference in New Issue
Block a user