mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 05:57:44 +00:00
AK+LibJS+LibRegex: Define an alias for UTF-16 string data storage
Instead of writing out "Vector<u16, 1>" everywhere, let's have a name for it.
This commit is contained in:
parent
39bda0073e
commit
425c168ded
10 changed files with 37 additions and 34 deletions
|
@ -517,7 +517,7 @@ ALWAYS_INLINE ExecutionResult OpCode_Compare::execute(MatchInput const& input, M
|
|||
return ExecutionResult::Failed_ExecuteLowPrioForks;
|
||||
|
||||
Optional<DeprecatedString> str;
|
||||
Vector<u16, 1> utf16;
|
||||
Utf16Data utf16;
|
||||
Vector<u32> data;
|
||||
data.ensure_capacity(length);
|
||||
for (size_t i = offset; i < offset + length; ++i)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue