1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 02:47:35 +00:00

LibCore: Add const qualifier to exec() argument spans

This commit is contained in:
MacDue 2023-02-04 15:43:38 +00:00 committed by Andreas Kling
parent 1668d0da27
commit f4236e61bf
4 changed files with 4 additions and 4 deletions

View file

@ -9,7 +9,7 @@
#include <AK/String.h>
#include <QCoreApplication>
ErrorOr<void> spawn_helper_process(StringView process_name, Span<StringView> arguments, Core::System::SearchInPath search_in_path, Optional<Span<StringView>> environment)
ErrorOr<void> spawn_helper_process(StringView process_name, Span<StringView> arguments, Core::System::SearchInPath search_in_path, Optional<Span<StringView const>> environment)
{
auto paths = TRY(get_paths_for_helper_process(process_name));
VERIFY(!paths.is_empty());