summaryrefslogtreecommitdiff
path: root/Kernel/GlobalProcessExposed.cpp
diff options
context:
space:
mode:
authorBrian Gianforcaro <bgianf@serenityos.org>2022-01-09 03:01:16 -0800
committerAndreas Kling <kling@serenityos.org>2022-01-12 13:03:44 +0100
commitfaf1fa0a8466123f2ae395b4b72541a19fb0d8b4 (patch)
tree20a9fa15c972140b4a4ed75aaed2a1834630d69b /Kernel/GlobalProcessExposed.cpp
parentf8ad3cc6a092b364526dead3efaf969668cee77e (diff)
downloadserenity-faf1fa0a8466123f2ae395b4b72541a19fb0d8b4.zip
Kernel: Convert Processor::features_string() API to KString
Diffstat (limited to 'Kernel/GlobalProcessExposed.cpp')
-rw-r--r--Kernel/GlobalProcessExposed.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/GlobalProcessExposed.cpp b/Kernel/GlobalProcessExposed.cpp
index a9c66902e7..0bc2c4da48 100644
--- a/Kernel/GlobalProcessExposed.cpp
+++ b/Kernel/GlobalProcessExposed.cpp
@@ -563,7 +563,7 @@ private:
obj.add("family", info.display_family());
auto features_array = obj.add_array("features");
- for (auto& feature : info.features().split(' '))
+ for (auto& feature : info.features().split_view(' '))
features_array.add(feature);
features_array.finish();