From 425c168dedf0138cb5d5a96c1d5cccce80afe030 Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Fri, 6 Jan 2023 11:00:24 -0500 Subject: AK+LibJS+LibRegex: Define an alias for UTF-16 string data storage Instead of writing out "Vector" everywhere, let's have a name for it. --- Userland/Libraries/LibRegex/RegexByteCode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Userland/Libraries/LibRegex/RegexByteCode.cpp') diff --git a/Userland/Libraries/LibRegex/RegexByteCode.cpp b/Userland/Libraries/LibRegex/RegexByteCode.cpp index ede861eecb..07e22f5ae8 100644 --- a/Userland/Libraries/LibRegex/RegexByteCode.cpp +++ b/Userland/Libraries/LibRegex/RegexByteCode.cpp @@ -517,7 +517,7 @@ ALWAYS_INLINE ExecutionResult OpCode_Compare::execute(MatchInput const& input, M return ExecutionResult::Failed_ExecuteLowPrioForks; Optional str; - Vector utf16; + Utf16Data utf16; Vector data; data.ensure_capacity(length); for (size_t i = offset; i < offset + length; ++i) -- cgit v1.2.3