mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 01:00:25 +00:00
fixed some warnings in RogueViz
This commit is contained in:
parent
973d8cb451
commit
cf0b13b5b2
@ -61,7 +61,7 @@ splitter split(string s) {
|
||||
if(c == 'd') add(swapped ? s1 : s0, 'b');
|
||||
if(c == 'a') swapped = !swapped;
|
||||
}
|
||||
return {swapped, s0, s1};
|
||||
return splitter{swapped, s0, s1};
|
||||
}
|
||||
|
||||
splitter split_slow(string s) {
|
||||
@ -73,7 +73,7 @@ splitter split_slow(string s) {
|
||||
if(c == 'd') ((swapped ? s1 : s0) += 'b'), ((swapped ? s0 : s1) += '-');
|
||||
if(c == 'a') swapped = !swapped, s0 += '-', s1 += '-';
|
||||
}
|
||||
return {swapped, s0, s1};
|
||||
return splitter{swapped, s0, s1};
|
||||
}
|
||||
|
||||
string reduce(const string& x) {
|
||||
|
Loading…
Reference in New Issue
Block a user