Remove two sneaky log_debug

This commit is contained in:
louiz’
2017-03-29 23:32:43 +02:00
parent 52b795d119
commit 1a09c965eb
22 changed files with 63 additions and 66 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ void Config::set(const std::string& option, const std::string& value, bool save)
}
}
void Config::connect(t_config_changed_callback callback)
void Config::connect(const t_config_changed_callback& callback)
{
Config::callbacks.push_back(callback);
}
+1 -1
View File
@@ -54,7 +54,7 @@ public:
* configuration change occurs (when set() is called, or when the initial
* conf is read)
*/
static void connect(t_config_changed_callback);
static void connect(const t_config_changed_callback&);
/**
* Destroy the instance, forcing it to be recreated (with potentially
* different parameters) the next time it’s needed.