mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 00:19:53 +01:00
CodeGenerators: Fix clang-18 crash by specifying types explicitly
clang 18.1.8 was crashing during the build without this change. Filed a bug report here: https://github.com/llvm/llvm-project/issues/128359 Co-authored-by: Tim Flynn <trflynn89@pm.me>
This commit is contained in:
parent
ff1ef07160
commit
2b32f94527
|
|
@ -111,7 +111,7 @@ ErrorOr<void> generate_implementation_file(JsonObject& enums_data, Core::File& f
|
|||
namespace Web::CSS {
|
||||
)~~~");
|
||||
|
||||
enums_data.for_each_member([&](auto& name, auto& value) -> void {
|
||||
enums_data.for_each_member([&](String const& name, JsonValue const& value) {
|
||||
VERIFY(value.is_array());
|
||||
auto& members = value.as_array();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user