mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-24 02:08:58 +00:00
LibCore: Add const qualifier to exec() argument spans
This commit is contained in:
parent
1668d0da27
commit
f4236e61bf
Notes:
sideshowbarker
2024-07-17 17:06:59 +09:00
Author: https://github.com/MacDue
Commit: f4236e61bf
Pull-request: https://github.com/SerenityOS/serenity/pull/17309
Reviewed-by: https://github.com/timschumi
Reviewed-by: https://github.com/trflynn89
4 changed files with 4 additions and 4 deletions
|
@ -178,7 +178,7 @@ enum class SearchInPath {
|
|||
ErrorOr<void> exec_command(Vector<StringView>& command, bool preserve_env);
|
||||
#endif
|
||||
|
||||
ErrorOr<void> exec(StringView filename, Span<StringView> arguments, SearchInPath, Optional<Span<StringView>> environment = {});
|
||||
ErrorOr<void> exec(StringView filename, Span<StringView const> arguments, SearchInPath, Optional<Span<StringView const>> environment = {});
|
||||
|
||||
#ifdef AK_OS_SERENITY
|
||||
ErrorOr<void> join_jail(u64 jail_index);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue