summaryrefslogtreecommitdiff
path: root/Userland/Utilities/profile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Utilities/profile.cpp')
-rw-r--r--Userland/Utilities/profile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Utilities/profile.cpp b/Userland/Utilities/profile.cpp
index d4e2800038..d213228e96 100644
--- a/Userland/Utilities/profile.cpp
+++ b/Userland/Utilities/profile.cpp
@@ -107,7 +107,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
return 0;
}
- auto cmd_parts = String(cmd_argument).split_view(' ');
+ auto cmd_parts = StringView(cmd_argument).split_view(' ');
dbgln("Enabling profiling for PID {}", getpid());
TRY(Core::System::profiling_enable(getpid(), event_mask));