mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2025-01-31 07:26:59 +02: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
2 changed files with 3 additions and 2 deletions
|
@ -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 a new issue