fix parsePersonality on other compilers
This commit is contained in:
parent
b1d3b3bae9
commit
0b479ae1b9
@ -43,7 +43,8 @@ Personality& parsePersonality(Personality& personality, Json const& config) {
|
||||
}
|
||||
|
||||
Personality parsePersonality(Json const& config) {
|
||||
return parsePersonality(Personality(), config);
|
||||
Personality personality;
|
||||
return parsePersonality(personality, config);
|
||||
}
|
||||
|
||||
Json jsonFromPersonality(Personality const& personality) {
|
||||
|
Loading…
Reference in New Issue
Block a user