fix parsePersonality on other compilers

This commit is contained in:
Kae 2023-06-29 06:38:48 +10:00
parent b1d3b3bae9
commit 0b479ae1b9

View File

@ -43,7 +43,8 @@ Personality& parsePersonality(Personality& personality, Json const& config) {
} }
Personality parsePersonality(Json const& config) { Personality parsePersonality(Json const& config) {
return parsePersonality(Personality(), config); Personality personality;
return parsePersonality(personality, config);
} }
Json jsonFromPersonality(Personality const& personality) { Json jsonFromPersonality(Personality const& personality) {