summaryrefslogtreecommitdiff
path: root/Kernel
diff options
context:
space:
mode:
authorTimothy Flynn <trflynn89@pm.me>2021-08-09 11:53:28 -0400
committerAndreas Kling <kling@serenityos.org>2021-08-10 23:07:50 +0200
commitc16aca7abf801a9d4da3d882b9e45ffcb35cd304 (patch)
tree011fac5c4e2cc44a283afa2812c0c8f9dc384af9 /Kernel
parent5978caf96bce2a49b77262042078265e96f4805a (diff)
downloadserenity-c16aca7abf801a9d4da3d882b9e45ffcb35cd304.zip
AK+Kernel: Add StringBuilder::append overload for UTF-16 views
Currently, to append a UTF-16 view to a StringBuilder, callers must first convert the view to UTF-8 and then append the copy. Add a UTF-16 overload so callers do not need to hold an entire copy in memory.
Diffstat (limited to 'Kernel')
-rw-r--r--Kernel/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/Kernel/CMakeLists.txt b/Kernel/CMakeLists.txt
index 1ac315a2d8..b0b12804f9 100644
--- a/Kernel/CMakeLists.txt
+++ b/Kernel/CMakeLists.txt
@@ -312,6 +312,8 @@ set(AK_SOURCES
../AK/Time.cpp
../AK/Format.cpp
../AK/UUID.cpp
+ ../AK/Utf8View.cpp
+ ../AK/Utf16View.cpp
)
set(ELF_SOURCES