mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 01:47:34 +00:00
LibRegex: Remove some else-after-returns
This commit is contained in:
parent
b674de6957
commit
a2563496f5
4 changed files with 44 additions and 44 deletions
|
@ -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;
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue