File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ class Settings
4444 * \param value The value of the setting. The value is always added and
4545 * stored in serialised form as a string.
4646 */
47- void add (const std::string& key, const std::string value);
47+ void add (const std::string& key, const std::string& value);
4848
4949 /* !
5050 * \brief Get the value of a setting.
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ Settings::Settings()
4141 parent = nullptr ; // Needs to be properly initialised because we check against this if the parent is not set.
4242}
4343
44- void Settings::add (const std::string& key, const std::string value)
44+ void Settings::add (const std::string& key, const std::string& value)
4545{
4646 if (settings.find (key) != settings.end ()) // Already exists.
4747 {
You can’t perform that action at this time.
0 commit comments