mirror of
https://github.com/mumble-voip/mumble.git
synced 2025-10-26 11:19:16 +00:00
BUILD(client): migrateSettings now takes reference
In order for migrateSettings to do what it is supposed to do, it must takes its argument by reference and not by value.
This commit is contained in:
parent
db8b6a3310
commit
fa471b69a9
@ -149,7 +149,7 @@ void to_json(nlohmann::json &j, const Settings &settings) {
|
||||
j[SettingsKeys::MUMBLE_QUIT_NORMALLY_KEY] = settings.mumbleQuitNormally;
|
||||
}
|
||||
|
||||
void migrateSettings(nlohmann::json json, int settingsVersion) {
|
||||
void migrateSettings(nlohmann::json &json, int settingsVersion) {
|
||||
// Perform conversions required to transform the given JSON into the format applicable to be read out by the most
|
||||
// recent standards
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user