LibRegex: Remove some else-after-returns

This commit is contained in:
Hendiadyoin1 2021-12-21 17:54:45 +01:00 committed by Brian Gianforcaro
commit a2563496f5
Notes: sideshowbarker 2024-07-17 22:25:05 +09:00
4 changed files with 44 additions and 44 deletions

View file

@ -121,9 +121,9 @@ public:
[&](auto const&) {
if (code_point <= 0x7f)
return 1;
else if (code_point <= 0x07ff)
if (code_point <= 0x07ff)
return 2;
else if (code_point <= 0xffff)
if (code_point <= 0xffff)
return 3;
return 4;
});