mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-07 17:15:26 +00:00
There was an issue with Clang that causes `consteval` function calls from default initializers of fields to be made at run-time. This manifested itself in the case of `ByteString::formatted` as an undefined reference to `check_format_parameter_consistency` once format string checking was enabled for Clang builds. The workaround is simple (just move it to the member initializer list), and unblocks a useful change.
13 KiB
13 KiB