summaryrefslogtreecommitdiff
path: root/src/config/config.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/config/config.cpp')
-rw-r--r--src/config/config.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/config.cpp b/src/config/config.cpp
index 24a1c87..0db5751 100644
--- a/src/config/config.cpp
+++ b/src/config/config.cpp
@@ -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);
}