mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-21 23:20:20 +00:00
AK: Explicitly instantiate FormatBuilder::put_f32_or_f64<{f32,f64}>
The default visibility of this function's implicit instantiation was somehow different on macOS, this fixes that and doesn't affect anything else.
This commit is contained in:
parent
141f56accc
commit
bec1c1fff7
Notes:
sideshowbarker
2024-07-17 05:13:53 +09:00
Author: https://github.com/alimpfard Commit: https://github.com/SerenityOS/serenity/commit/bec1c1fff7
1 changed files with 3 additions and 0 deletions
|
@ -1065,6 +1065,9 @@ ErrorOr<void> Formatter<float>::format(FormatBuilder& builder, float value)
|
|||
|
||||
return builder.put_f32_or_f64(value, base, upper_case, m_zero_pad, m_use_separator, m_align, m_width.value(), m_precision, m_fill, m_sign_mode, real_number_display_mode);
|
||||
}
|
||||
|
||||
template ErrorOr<void> FormatBuilder::put_f32_or_f64<float>(float, u8, bool, bool, bool, Align, size_t, Optional<size_t>, char, SignMode, RealNumberDisplayMode);
|
||||
template ErrorOr<void> FormatBuilder::put_f32_or_f64<double>(double, u8, bool, bool, bool, Align, size_t, Optional<size_t>, char, SignMode, RealNumberDisplayMode);
|
||||
#endif
|
||||
|
||||
#ifndef KERNEL
|
||||
|
|
Loading…
Reference in a new issue