mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-22 12:35:14 +00:00
Utilities/w: Work around Clang 18 bug with templated lambda + Variant
This was missed in 6f972c1
since this file is not compiled as a part of
a Lagom build.
This commit is contained in:
parent
7296b0fa43
commit
50911e6f96
Notes:
sideshowbarker
2024-07-17 01:27:18 +09:00
Author: https://github.com/DanShaders Commit: https://github.com/SerenityOS/serenity/commit/50911e6f96 Pull-request: https://github.com/SerenityOS/serenity/pull/23947
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ ErrorOr<int> serenity_main(Main::Arguments args)
|
|||
if (!hide_header)
|
||||
outln("\033[1m{:10} {:12} {:16} {:6} {}\033[0m", "USER", "TTY", "LOGIN@", "IDLE", "WHAT");
|
||||
|
||||
TRY(json.as_object().try_for_each_member([&](auto& tty, auto& value) -> ErrorOr<void> {
|
||||
TRY(json.as_object().try_for_each_member([&](ByteString const& tty, auto& value) -> ErrorOr<void> {
|
||||
const JsonObject& entry = value.as_object();
|
||||
auto uid = entry.get_u32("uid"sv).value_or(0);
|
||||
[[maybe_unused]] auto pid = entry.get_i32("pid"sv).value_or(0);
|
||||
|
|
Loading…
Add table
Reference in a new issue